Skip to content

Function: usePointer()

@roomful/react


@roomful/react / usePointer

usePointer<TPresence>(options?): UsePointerResult

Defined in: react/src/index.ts:1002

Subscribes to remote pointer beams and returns mounting plus 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.