My goal is to make my character respawn from the beginning of the level if he falls down a pit of get hit by a enemy.
I have more or less been copying the "Plattformer School" way of making event sheets, so I have made two sprites. One of controls and one for animation. It looks something like this:
Main:
1. Start of Layout: Character: Send to front
2. Always (every tick): Character: Set position to Object player(image point 0)
Animation:
1. Player 1 "D" is down :Character: set to 0
(invert condition) Player 1 "A" is down
2. Player 1 "A" is down :Character: set to 180
(invert condition) Player 1 "D" is down
3. Player is walking: character: set animation to "Running"
4. Else: character: set animation to "Standing"
5. Player is jumping: character: set animation to "Jumping"
6. Player is falling: character: set animation to "Falling"