i'm looking for a way to disable inputs such as wasd when a dialog box is visible in the game without messing with the player's physics process code.
How to disable specific inputs when a node is visible?
- Edited
- Best Answerset by Luminarcturus
I don't know if you can disable inputs, but you can erase input actions and restore them with the InputMap class.
https://docs.godotengine.org/en/stable/classes/class_inputmap.html