Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Nichefect | |
Old Version | Published before Godot 3 was released. |
From what I understand from the Godot tutorials, it’s best to use the action map for setting the control scheme of a game. I’m in a situation where I need to detect when a key is released and I’m wondering how one would do this because there is no function like Input.is_action_released(“an action”).
The reason I need to know this is because I have a character animation for walking, but when the character stops walking the animation will play out its last loop before stopping. I need to know when the key is released so that can tell the animation to stop as soon as the character stops walking.