GetCursorX

Definition

double GetCursorX()

Description

Returns the value of the X component of the mouse cursor position.

Return Value

The value of the X component of the mouse cursor position.

Example

x = 0.0

function Init()
    x = GetCursorX()
end

function Update()

end
adminGetCursorX