I need information on wether a mouse button is pressed. One way to do it is like this:
if event is InputEventMouseButton && event.button_index == BUTTON_LEFT:
if event.is_pressed():
But I want to do it through the key binding system
event.is_action_pressed("ui_select") # is only when you click
event.is_action("ui_select") # when you click and you stop clicking
They don't actually return true while the mouse is pressed, how would I go about checking if a binded key is pressed?