Usage
Call "Toggle pause" action, or "Set pause state" action to change the pause state, it will trigger one of these 2 conditions, "On pause" and "On resume" when pausing or resuming the game.