How do I detect when the player stands still?

I want to make a stamina system where when you stand still and the “Energy” item will start go up by 5 every 0.5 seconds (max is 100). I can make it go down by movement meter but I need it to start restoring energy when I stand still.

1 Like

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