# Replay: presence property

> The presence read-only property of the Replay interface lists who was in the room at the tick shown.

The **`presence`** read-only property of the [`Replay`](/docs/client/replay) interface lists who was in the room at the tick shown, as [`RoomClient.presence`](/docs/client/room-client/presence) does on a live client.

## Value

A [`PresenceList`](/docs/client/presence-list).

## Description

Its events fire during playback as a live client's do: [`join`](/docs/client/presence-list/join-event) when a player's presence starts, [`change`](/docs/client/presence-list/change-event) when their name, status or connection changes, and [`leave`](/docs/client/presence-list/leave-event) when it ends. A [`seek()`](/docs/client/replay/seek) makes every player shown leave and those at the new tick join. `presence.me` is `undefined`, since a replay has no local player, and `setStatus()` throws an `Error`.

## Examples

### Listing the players of a replay

A replay viewer shows who was in the room at the tick shown, and who had dropped.

```ts
// replay-roster.ts
import type { Replay } from "@irtio/client/replay";

export function roster(replay: Replay): string[] {
  return [...replay.presence].map((p) => (p.connected ? p.name : `${p.name} (disconnected)`));
}
```

## See also

- [`PresenceList`](/docs/client/presence-list)
- [`Replay.entities`](/docs/client/replay/entities)
- [Presence](/docs/room/guides/presence)
