window_get_y


Description

With this function you can get the y position (in pixels) within the browser if it is an HTML5 game or within the display if it is a Windows, Ubuntu (Linux) or MacOS game.


Syntax:

window_get_y();


Returns:

Real


Example:

wy = window_get_y();

The above code stores the current y axis window position in the variable "wy".