Skip to content

API Function predictedTick

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Function: predictedTick()

function predictedTick(world?): number;

Defined in: src/engine/net/prediction.ts:424

The tick predicted systems are simulating: on a network client, the replayed tick while they catch up or re-simulate, else time.network.serverTick; on a server, its tick. -1 in a World that isn't networked.

Parameters

world?

World = ...

Returns

number

Clone this wiki locally