screen

These are often used for drawing HUD elements.

Constant Description
real SCREEN_WIDTH The ideal screen width. Usually 960.
real SCREEN_HEIGHT The ideal screen height. Usually 540.

Example

// Draw GUI event
draw_sprite(spr_lap2, 0, SCREEN_WIDTH / 2, 100);
This will show spr_lap2 at the top center of the screen.