- Documentation
- Client functions
- guiGetCursorType
Function
guiGetCursorType
Returns the cursor type matching the control under the mouse: "default", "text" or "sizing".
Syntax
string guiGetCursorType()Returns
Cursor type.
Example
addEventHandler("onClientRender", root, function()
if isCursorShowing() then
dxDrawText(guiGetCursorType(), 10, 10)
end
end)