The idea is that if the player performs an action before it’s allowed, by some other condition (such as being on the ground to be able to jump), the action will...