Skip to content

Function: usePointer()

@roomful/solid


@roomful/solid / usePointer

usePointer<TPresence>(options?): UsePointerResult

Defined in: solid/src/index.ts:986

Subscribes to remote pointer beams and returns mounting and control helpers.

TPresence extends PresenceData = PresenceData

The room presence shape.

PointerOptions

Optional pointer tracking configuration.

UsePointerResult

The remote beams plus a mounting ref and activate/deactivate/render controls.