Skip to main content

Ui::setCursorSprite

Changes the mouse cursor's sprite.

None = 0,

Normal = 1,

TransparentNormal = 2,

PreGrab = 3,

Grab = 4,

MiddleFinger = 5,

LeftArrow = 6,

RightArrow = 7,

UpArrow = 8,

DownArrow = 9,

HorizontalExpand = 10,

Add = 11,

Remove = 12,

Syntax

```js mp.game.ui.setCursorSprite(spriteId); ```

Required Arguments

  • spriteId: int

Return value

  • Undefined

Example

```js // todo ```

See also