window_get_region_width()

From ENIGMA
Jump to navigation Jump to search

Description

Gets the width of the game window drawing region and returns the result.

Parameters

Parameter Description
none This function has no parameters.

Return Values

integer: Returns the width of the game window drawing region.

Example Call

// demonstrates obtaining the size of the game window drawing region
var width,height;
width = window_get_region_width();
height = window_get_region_height();