Enhanced Inputs - Hold input = one action, Tap & Hold input after = another action, how can I achieve this?

Hey everyone, I cannot find a way to do the following:

For reference, I am using Shift in the input system to trigger the following moving states:

  1. Hold Shift = Run
  2. Release Shift = Walk (default state if you don’t press Shift at all)
  3. Tap Shift + Tap & Hold Shift after = Sprint

Right now I managed to make the Run state work, using the Hold trigger from the enhanced input system, but I cannot find a way for the Sprint to work, I tried with Combo trigger but couldn’t make it work at all. What would be the best strategy to achieve this?

In case anyone is having the same problem, I found a solution (I don’t know if it is the best one, but it works):

P.S.: The input should have a Hold trigger.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.