Is there a way that I can have one function tied to tapping the Left Mouse Button, but having a different action occur if the left mouse button is held?
For example, if a player taps the Left Mouse Button, their character will swing their sword. But if the player holds the mouse button, the character will kick their opponent. I know I could easily just switch that to another button, but I want to know how holding a button will work because it's more practical for the mechanics I have in mind.
For example, if a player taps the Left Mouse Button, their character will swing their sword. But if the player holds the mouse button, the character will kick their opponent. I know I could easily just switch that to another button, but I want to know how holding a button will work because it's more practical for the mechanics I have in mind.
Comment