Documentation

Cursor Position - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Cursor :: Cursor Position

Root.Cursor.Position
position of the cursor (X and Y axis) and mouse wheel (Z axis) relative to the screen

Type

3D Vector

Lua Usage

-- Get
local value3DVector = cursor.Position

-- Set
cursor.Position = value3DVector

If you think anything is missing, please feel free to: submit documentation feedback on this page