Combo move with the same key.

Hello Unity,

I am trying to figure out how to do a combo move with the same key.
If i press the right arrow two times do something if i press right arrow three times do something else.

Thank you in advance,
Upower :wink:

I know someone has the answer for this :smile:

On pressing your button you’ll need to set up a time limit within which the next button needs to be pressed. A sort of state machine might make sense to structure what move is executable in what state.