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

pauseDayClock

pauseDayClock(authority, options?): void

Holds the world’s hour where it stands until resumeDayClock, as a cutscene or a menu over the game may: the sun stops, and so does every rule that reads the hour. A paused clock stays paused. Throws as setTimeOfDay does where no clock is found.

Parameter Type Default value
authority Authority undefined
options TimeOfDayOptions noOptions

void