Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Elis |
Hi,
I want to set an event that will happen while the mouse left button is being pressed, and held down. I’ve tried this, but it doesn’t work, it only recognizes when I’m moving the mouse, and not when I’m holding it down, while not moving it.
func _input(event):
if Input.is_action_pressed("click"):
print("a")
Is there a better way to do that?