# isCursorShowing (Client)

> Tells whether the mouse cursor is showing.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Keyboard
- **URL**: https://wiki.mymp.gg/en/isCursorShowing

## Syntax

```lua
bool isCursorShowing()
```

## Returns

`true` if any resource asked for the cursor with `showCursor`, `false` otherwise.

## Example

```lua
addEventHandler("onClientRender", root, function()
    if isCursorShowing() then
        dxDrawText("Menu open", 20, 20)
    end
end)
```

## See also

- [showCursor (Client)](https://wiki.mymp.gg/en/showCursor.md): Shows or hides the mouse cursor for this resource.
- [getCursorPosition (Client)](https://wiki.mymp.gg/en/getCursorPosition.md): Reads where the cursor is on the screen and the world point it points at.
