How to make a Standing Still boolean?

If “is still” true - is running = false , else nothing . Last image.