File:Lengthdir x.png

This image shows the meaning of the lengthdir_x function in Game Maker.