(7) Hit Function

87 FUNCTIONS

Functions are special kinds of event blocks that can be called from actions. 

Using functions can help you organize event sheets and avoid having to duplicate groups of actions or events.

We will use a function for when the player gets hit