# isCursorShowing (Cliente)

> Dice si el cursor del ratón se está mostrando.

- **Plataforma**: MY Multiplayer (MYMP)
- **Tipo**: Función Lua
- **Lado**: Cliente
- **Categoría**: Teclado
- **URL**: https://wiki.mymp.gg/es/isCursorShowing

## Sintaxis

```lua
bool isCursorShowing()
```

## Retorno

`true` si algún recurso pidió el cursor con `showCursor`, `false` en caso contrario.

## Ejemplo

```lua
addEventHandler("onClientRender", root, function()
    if isCursorShowing() then
        dxDrawText("Menú abierto", 20, 20)
    end
end)
```

## Ver también

- [showCursor (Cliente)](https://wiki.mymp.gg/es/showCursor.md): Muestra u oculta el cursor del ratón para este recurso.
- [getCursorPosition (Cliente)](https://wiki.mymp.gg/es/getCursorPosition.md): Lee dónde está el cursor en la pantalla y el punto del mundo al que apunta.
