isLocked
A Boolean value that indicates whether the pointer is locked.
Declaration
var isLocked: Bool { get }Discussion
This value reflects the status of the pointer lock for the scene, as determined by the system. A view controller specifies its preferred pointer lock value, but the system may not honor the request.
This property is key-value observable. The didChangeNotification is posted when it changes.