Contents

UIPointerLockState

An object that contains information about a scene’s pointer lock state.

Declaration

@MainActor class UIPointerLockState

Overview

To prevent the pointer from triggering system gestures, for example, bringing up the dock, lock it to your application. Locking the pointer hides the pointer and locks it to just your full-screen application.

Topics

Checking the Lock State

Updating the Lock State

Structures