Why this code not working

Godot Version

Godot_v4.3

Question

why this code not working

thats quite stupid…
just add tab before twist_input and pitch_input …as editor says to you

You have to indent your code one more time:
indent_in_code

3 Likes

It’s not stupid, just one of those things you learn as you go. But yes, using tabs to indent the code you want to be affected by the condition should fix the problem.

3 Likes

txh im Beginner in godot

2 Likes