draw_debug_text

Draws text to the screen.

ArgumentTypeDescription
x:realThe x position the text will be drawn at
y:realThe y position the text will be drawn at
text:stringThe text to draw

Example, called from post_draw.gml:

// draws current character's state:
draw_debug_text( x, y - 20, string( state ));