Index

:!: Available in version 1.3 and later.

SetRPLCamCursorLock

SetRPLCamCursorLock(<-locked)

Description

Causes the mouse cursor to become invisible and locked to the center of the game view. If the player presses ESC to bring up the menu, the cursor will revert to being visible and movable. If the main menu is dismissed, the cursor will return to the locked state. This API only works while RPLCam mode is enabled.

Examples

SetRPLCamCursorLock(true)

Index