i want to minus one integer from the variable whenever my character waks but it minus all the integer even when it is not walking

Screenshot 2023-03-15 192905
Screenshot 2023-03-15 192829

1 Like

That’s because this nodes fires every frame. Try:

I mean, steps are steps no matter the direction so maybe you just want:

SORRY FOR LATE REPLY,THANKS FOR SOLUTION VERY MUCH

1 Like