Draw debug text

This function draws text at the specified coordinates. Text drawn with this function will always be drawn aligned to the left, colored white, outlined in black, and using the font.

Syntax
draw_debug_text( x, y, text );

Returns
N/A

Basic
// debug_draw.gml // draws the name of the player's current state at the player's coordinates var state_string = "state: " + get_state_name( state ); draw_debug_text( x, y, state_string );