Rhinobeetle I'm making a platformer game and I'm wondering how to toggle actions such as sprint so that if after the keybind is pressed that you will sprint and lose energy and if your energy is 0 then you can't sprint.