UiElement.getCursorPos

Get the position of the cursor over the element. The cursor position returned is relative to the screen. It is only returned if the cursor is over the element.

class UiElement
int[]
getCursorPos
()

Return Value

Type: int[]

An array holding the screen position of the cursor.

Meta