Hello I would like to know of some action fsm so that when you press the letter R the player cannot moves.
Example:
I press the letter R (get key down) and the player stays still, then I again press the letter R and the player can continue to move.
This is a 2d RPG style game.