Skip to main content

Interface: LaserPointerOptions

Configuration options for the laser pointer overlay.

Properties​

PropertyTypeDescription
active?booleanStart with the pointer active. Defaults to false.
color?stringBase laser beam color in RGB hex. Defaults to neon laser ruby ('#ff0055').
cursorIdleMs?numberInactivity delay before the cursor is hidden. Defaults to 2000ms.
idleTimeoutMs?numberInactivity delay before the pointer canvas sleeps. Defaults to 2000ms.
trailDurationMs?numberTrail persistence in milliseconds. Defaults to 160ms.