How do I activate this animation player on right-click?
I have several animation players assigned to one character, and I'm trying to activate an animation from one of them in the input event of the character.
func _input(event): if Input.is_action_pressed("R_punch"): $"TSBM Drone/DroneRPunchANIM".play("Drone_PUNCH_R")
My settings have right punch set to mouse right-click (device 0).
The problem is... when I right-click, nothing happens. Why?