How to get 2 fixed speeds with analog stick?

Hey, I’m trying to have walking and running speed in two fixed states with the analog stick. So that when the left analog stick is turned a little bit in a direction the character will walk in a constant speed, and when the left analog stick is turned a lot, my character is running in a constant speed. I have it working but only on 4 directions, I would like to have it diagonal (and any direction) as well, what’s the best way to do this?
Thanks! :slight_smile:

you could stack a scalar and deadzone in your input mapping context, or make your own custom input modifier that uses something like the “map range clamped” node plus an essential deadzone.