Stop Movement in one axis

Hey, so i have been trying to stop movement in one direction. for example the move right input in the third person template, is there a way i can disable just move right’s positive values so i don’t move right anymore.
i mean i can branch it to check it move right is positive and add movement input accordingly by creating 2 more input axis but it feels like i am doing something wrong and there is a node or something that restricts movement from 1 axis.
Seriously any help is appreciated!
Thanks in advance!

Hi MVPaaryan,

You could do something like this:

Just Clamp the values so the MoveRight float output never moves into the positive value.

Let me know if that works for you.

Cheers,

TJ

Tanks a lot!
This would definitely make my work a lot easier.
Thank you so much!