From the reference libraryRedM

cursor_sprites

discoveries/graphics/HUD/cursor_sprites/README.md

cursor_sprites

Example of using:


Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
        SetMouseCursorSprite(10)  -- set cursor as "grab hand".
    end
end)

<h2>Cursor sprites</h2>

Cursor ID Cursor`s sprite name Cursor`s sprite image
0 mouse_cursor_style_arrow mouse_cursor_style_arrow
1 mouse_cursor_style_arrow_dimmed mouse_cursor_style_arrow_dimmed
2 mouse_cursor_style_arrow_up mouse_cursor_style_arrow_up
3 mouse_cursor_style_arrow_down mouse_cursor_style_arrow_down
4 mouse_cursor_style_arrow_left mouse_cursor_style_arrow_left
5 mouse_cursor_style_arrow_right mouse_cursor_style_arrow_right
6 mouse_cursor_style_arrow_positive mouse_cursor_style_arrow_positive
7 mouse_cursor_style_arrow_negative mouse_cursor_style_arrow_negative
8 mouse_cursor_style_arrow_trimming mouse_cursor_style_arrow_trimming
9 mouse_cursor_style_hand_open mouse_cursor_style_hand_open
10 mouse_cursor_style_hand_grab mouse_cursor_style_hand_grab
11 mouse_cursor_style_hand_finger mouse_cursor_style_hand_finger
12 mouse_cursor_style_hand_finger_dimmed mouse_cursor_style_hand_finger_dimmed
13 mouse_cursor_style_hand_finger_up mouse_cursor_style_hand_finger_up
14 mouse_cursor_style_hand_finger_down mouse_cursor_style_hand_finger_down
15 mouse_cursor_style_hand_finger_left mouse_cursor_style_hand_finger_left
16 mouse_cursor_style_hand_finger_right mouse_cursor_style_hand_finger_right
17 mouse_cursor_style_hand_finger_positive mouse_cursor_style_hand_finger_positive
18 mouse_cursor_style_hand_finger_negative mouse_cursor_style_hand_finger_negative
19 mouse_cursor_style_hand_finger_trimming mouse_cursor_style_hand_finger_trimming
20 mouse_cursor_style_hand_finger_dollar mouse_cursor_style_hand_finger_dollar
Back to documentation