|Topic was automatically imported from the old Question2Answer platform.
|Published before Godot 3 was released.
I cant figure out how to make code for input.
When you bound a key to a action, action will happen every frame as long as you ceep button pressed down.
How can i write code to make it check - was it pressed- only once, untill its released and do that again when needed (like with attack functions)
But without Timer nodes…
p.s. Im guessing you are operating with “was_pressed” or such functions…?