interface ActivityData {
    sceneId: string;
    cursor: {
        x: number;
        y: number;
    };
    ruler: any;
    targets: string[];
    active: boolean;
    ping: PingData;
    av: AVSettingsData;
}

Properties

sceneId: string

The ID of the scene that the user is viewing.

cursor: {
    x: number;
    y: number;
}

The position of the user's cursor.

Type declaration

  • x: number
  • y: number
ruler: any

The state of the user's ruler, if they are currently using one.

targets: string[]

The IDs of the tokens the user has targeted in the currently viewed scene.

active: boolean

Whether the user has an open WS connection to the server or not.

ping: PingData

Is the user emitting a ping at the cursor coordinates?

The state of the user's AV settings.