# RoomClient: predictions property

> The predictions read-only property of the RoomClient interface is every prediction predict() made on the client, stopped ones included.

The **`predictions`** read-only property of the [`RoomClient`](/docs/client/room-client) interface is every [`Prediction`](/docs/client/prediction) that [`predict()`](/docs/client/room-client/predict) made on the client.

## Value

A read-only `Set` of `Prediction` objects, in the order they were made. It includes stopped predictions, since they still reconcile with the room's state.

## Description

Only one prediction runs on a client at a time: `predict()` throws while another hasn't been stopped. `predictions` lets code that didn't make the prediction, such as a debug panel, find it.

## Examples

### Showing mispredictions in a debug panel

A debug panel lists each prediction's last tick, its misprediction count and its drift verdict.

```ts
// drift-panel.ts
import type { RoomClient } from "@irtio/client";

export function mispredictionReport(room: RoomClient): string[] {
  return [...room.predictions].map((p) => `tick ${p.tick}: ${p.mispredictions} mispredictions, ${p.drift.verdict}`);
}
```

## See also

- [`RoomClient.predict()`](/docs/client/room-client/predict)
- [`Prediction`](/docs/client/prediction)
- [Client prediction](/docs/client/guides/prediction)
