godot check if mouse button was just pressed code example Example: godot check if mouse button was just pressed Add a input to the InputMap.