Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | GreenCastle |
For instance (this is running inside a _physics_process),
if(Input.is_action_pressed("ui_cancel") && Input.is_action_pressed("ui_left")):
print("CANCEL AND LEFT");
if(Input.is_action_pressed("ui_cancel") && Input.is_action_pressed("ui_up")):
print("CANCEL AND UP");
if(Input.is_action_pressed("ui_cancel") && Input.is_action_pressed("ui_left") && Input.is_action_pressed("ui_up")):
print("CANCEL AND LEFT AND UP");
When playing on a keyboard, CANCEL AND LEFT AND UP is never reached. If you are holding two of these keys, presses on the 3rd are simply not detected. The other three combinations of cardinal directions are fine.
This only applies to playing on a keyboard; on a controller, it’s fine.
I figured out that the problem is with the Esc key. If I change the mapping to Tab, for instance, this problem goes away. Anyone else run into this? What’s going on with the Escape key?