Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | jekalinski |
I want to be able to write:
if (var) jumping == false:
(disable Input.is_action_pressed("ui_up"):)
Is there a specific term I need to use, because I can’t seem to find any solution.
Why would you need to disable it? When you need to check for the input, you could have something such as if on_the_floor and Input.is_action_pressed("ui_up"): do_this ()
. That way, you could set on_the_floor
when necessary.
Ertain | 2018-09-23 23:34