+1 vote

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?

in Engine by (13 points)

1 Answer

+3 votes

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.

by (21,967 points)

Thanks! Now its working.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.