interaction

Methods

set_mouse_cursor_this_frame

Shows the cursor on screen for one frame.

Old name: _SET_MOUSE_CURSOR_ACTIVE_THIS_FRAME

function native.interaction.set_mouse_cursor_this_frame(): void

set_mouse_cursor_style

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

function native.interaction.set_mouse_cursor_style(sprite_id: int): void

_set_allow_first_person_mouse_camera_movement

Allows camera to be moved if middle mouse button is held while in first person Must be called every frame _SET*

function native.interaction._set_allow_first_person_mouse_camera_movement(): void

_pointer_is_being_moved

Returns true if player is moving mouse while cursor is active _PI* - _PO*

function native.interaction._pointer_is_being_moved(): bool

_pointer_is_left_button_held

Returns true if player is holding LMB while cursor is active _PI* - _PO*

function native.interaction._pointer_is_left_button_held(): bool

_pointer_is_left_button_just_released

Returns true if player releases LMB if cursor is active _PI* - _PO*

function native.interaction._pointer_is_left_button_just_released(): bool