Clash Blueprint Engine API
    Preparing search index...

    Function replayStateAt

    • Sample a recorded SimulationFrame timeline at an arbitrary time t, linearly interpolating unit positions between the two bracketing frames so playback is smooth regardless of the record rate. Cumulative destruction (buildings destroyed, walls broken) is derived from every event at or before t. Pure and deterministic — the same inputs always yield the same state, which is what lets a worker and the main thread agree frame-for-frame.

      Parameters

      Returns ReplayState