Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

readSecondsUntil

readSecondsUntil(source, tick): number

Seconds from the source’s tick until tick, never below 0: the time a timer that ends on tick has left. A view on a page reads it at the player’s page’s tick, which moves every step, so a countdown it shows moves with nothing sent. As Photon Fusion’s TickTimer.RemainingTime.

Parameter Type
source TickSource
tick number

number