window_get_width()

From ENIGMA

Jump to: navigation, search

Description

Gets the width of the current game window and returns the result.

Parameters

Parameter Description
none This function has no parameters.

Return Values

integer: Returns the width of the game window.

Example Call

// demonstrates obtaining the size of the game window
var width,height;
width = window_get_width();
height = window_get_height();
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox