Skip to content
Roblox API Reference

Enum.PredictionMode

Enum used with RunService:SetPredictionMode() to define the prediction mode for the instance.
Items
3
Uses
2

Items3

  • Enum.PredictionMode.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 will be predicted within a dynamic radius that grows and shrinks based on the device's capability to handle the simulation load.
  • Enum.PredictionMode.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, its physics properties will be predicted ahead of the replicated authoritative server state.
  • Enum.PredictionMode.Off = 2
    The instance will not be predicted. Regular network ownership semantics apply.

Used by properties1

Used by parameters1