setCursorLocked(locked: boolean): void
Lock / unlock cursor. Note that you cannot lock cursor within 1 second after user unlocking the cursor with the default unlock gesture (typically the esc key) due to browser policy.
since
v2000.0
group
Info
Lock / unlock cursor. Note that you cannot lock cursor within 1 second after user unlocking the cursor with the default unlock gesture (typically the esc key) due to browser policy.
since
v2000.0
group
Info
Assets
Game Obj
Components
Component Types
Scene
Input
Events
Info
Math
Misc
Button Bindings
GFX
Draw
Layer
Camera
Layers
Level
Plugins