Skip to main content

useGrabCursor

Typeboolean
Defaulttrue
Added inv4.0.0

Sets whether to automatically change the CSS cursor value when using the mouse.
If true, apply cursor: "grab" to the canvas when it's in the default state and cursor: "grabbing" during input.

Example

{
useGrabCursor: true,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
{
useGrabCursor: false,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}