# Enum.PredictionMode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/PredictionMode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/PredictionMode

Enum used with [`RunService:SetPredictionMode()`](https://rapi.sleaze.dev/classes/RunService.md) to define the prediction mode for the instance.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Automatic` | 0 | The engine will automatically decide if this instance should be predicted or not. Currently, only `BaseParts` near the local player character's [`Humanoid`](https://rapi.sleaze.dev/classes/Humanoid.md) will be predicted within a dynamic radius that grows and shrinks based on the device's capability to handle the simulation load. |
| `On` | 1 | The instance will be predicted. Mismatches in the attributes of this instance between the client and server will cause a rollback and resimulation. If the instance is a [`BasePart`](https://rapi.sleaze.dev/classes/BasePart.md), its physics properties will be predicted ahead of the replicated authoritative server state. |
| `Off` | 2 | The instance will **not** be predicted. Regular network ownership semantics apply. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [Instance](https://rapi.sleaze.dev/classes/Instance.md): property `PredictionMode`
- [RunService](https://rapi.sleaze.dev/classes/RunService.md): method parameter `SetPredictionMode`
