Hello everyone.
How do I do that if I press a button once (An input action) it make one action, but if I keep pressing, it make another?
I hope to be clear.
Thank you!
Hello everyone.
How do I do that if I press a button once (An input action) it make one action, but if I keep pressing, it make another?
I hope to be clear.
Thank you!
but if I keep pressing, it make
another?
Kind of depends on how it’s supposed to work - it fires after holding for x time or after releasing after x time?
The below will work if you hold (without the need to release) for 1s:
I guess I can add the other one while I’m at it:
This will only fire once you’ve released the button.
And I’ll just add that a similar effect can be achieved with a timer, I’d probably go for a timer if I needed to put something a tad more involved, like a combo →→↓→