My movement script is not working, what could be the issue?

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

I’ve just downloaded godot, I was looking for an engine I could collaborate on with someone who doesn’t know C#.

I decided to follow the gdscript 2D movement overview, however when pressing up or down, movement isn’t continuous. My object only moves one step. What could be the issue?

https://i.imgur.com/uj3M1tg.mp4

:bust_in_silhouette: Reply From: estebanmolca

It seems that you are using Input.is_action_just_pressed () instead of Input.is_action_pressed (). Can you post your move script?

Oh man, such a weird error, thanks!

voodin | 2021-08-21 07:14