getCursorPositionY

WindowModuleInterface::getCursorPositionY

Returns the mouse cursor vertical position.

Declaration

virtual int getCursorPositionY(WindowID windowID) = 0;

Parameters

Name

Type

Description

windowID

WindowID

The window to check the vertical cursor position on.

Returns

The vertical position of the mouse cursor relative to the window, with 0 being the top edge of the window.