This function is used to align text along the horizontal axis and changing the horizontal alignment will change the position and direction in which all further text is drawn with the default value being fa_left. The following constants are accepted:
常量 Alignment fa_left fa_center fa_right
draw_text(100, 32, "Score: " + string(score));
draw_text(room_width - 100, 32, "Health: " + string(health));
The above code will draw two strings on the same line, with the score being left-hand aligned and the health being right-hand aligned.