Script API - v26.50.24
    Preparing search index...

    Class WorldClockBeta

    A class that represents a particular clock within a world.

    export class WorldClock {
    private constructor();
    isPaused: boolean;
    readonly name: string;
    time: number;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    isPaused: boolean

    Retrieves or sets whether the world clock is currently paused.

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    This property can't be read in early-execution mode.

    name: string

    The identifier that represents this world clock.

    This property can't be read in early-execution mode.

    time: number

    Retrieves or sets the current time (in ticks) of the world clock.

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    Minimum Value: 0

    This property can't be read in early-execution mode.