Lengthdir y

Explanation
The lengthdir_y function is a mathematical function that returns the vertical y-component of the vector determined by the indicated length and direction. It's mathematical equivalent is -sin(dir)*len (the negative (-) sign is due to Game Maker's reversed y-axis).

For a more visual explanation and an example see lengthdir_x(len,dir)