# INTERACTION::SET_MOUSE_CURSOR_STYLE

- **Hash:** `0x7F5858AAB5A58CCE`
- **Namespace:** INTERACTION
- **Runtime name (Lua/JS):** `SetMouseCursorStyle`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/INTERACTION/SET_MOUSE_CURSOR_STYLE

## Signature

```c
void SET_MOUSE_CURSOR_STYLE(int spriteId);
```

## Parameters

- `spriteId` (`int`)

## Returns

`void`

## Description

Changes the mouse cursor's sprite.

spriteId's: https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/cursor_sprites#readme

Old name: _SET_MOUSE_CURSOR_SPRITE

## Usage

### Lua

```lua
SetMouseCursorStyle(spriteId)

-- always available, by hash
Citizen.InvokeNative(0x7F5858AAB5A58CCE, spriteId)
```

### JavaScript

```js
SetMouseCursorStyle(spriteId);

// by hash
Citizen.invokeNative('0x7F5858AAB5A58CCE', spriteId);
```

### C#

```csharp
Function.Call((Hash)0x7F5858AAB5A58CCE, spriteId);
```

*Sources: alloc8or RDR3 NativeDB.*
