Godot Version
4.2.2.stable.arch_linux
Question
I have a basic camera controller which moves the camera around with WASD with
Input.get_axis("move_camera_left", "move_camera_right")
This works fine, except that the camera is moved around when typing in the UI (like in a lineedit). For other things like scrolling, I can use _unhandled_input
, but this doesn’t work for camera movement since I need access to delta time. Does godot have a way so get_axis will return 0 if a node is selected or something similar? Or do I have to write some solution myself?