UIPointerLockState
An object that contains information about a scene’s pointer lock state.
Declaration
@MainActor class UIPointerLockStateOverview
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.