"Unexpected indent". Godot First game tutorial

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By soddomist

Hello guys!
I am walking through Godot tutorial (http://docs.godotengine.org/en/3.0/getting_started/step_by_step/your_first_game.html) and stuck at *pic related*.screenshot

What i did wrong?

:bust_in_silhouette: Reply From: kidscancode

Looks like you copied-and-pasted that code, probably from the webpage. Indentation by default in GDScript uses tabs, but the code you copied has inserted spaces. Note the “>|” symbol indicating the tab indent.

Thanks! Now its working.

soddomist | 2018-02-01 04:20