isCursorCaptured
isCursorCaptured(
canvas):boolean
Whether canvas holds the cursor, so a mouse move turns the camera and
a shot aims through the crosshair: the browser’s pointer lock, or in an
automated browser, which the engine asks for none, the capture it
granted there.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
canvas |
HTMLElement |
Returns
Section titled “Returns”boolean