• Studio

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Timer

    Properties

    interval

    number

    enabled

    boolean

    Methods

    Behaves like Timer.new(interval, callback, false)

    Parameters

    interval

    number

    callback
    LuaFunction

    Returns

    Behaves like Timer.new(interval, callback, true)

    Parameters

    interval

    number

    callback
    LuaFunction

    Returns

    Enables or disables the timer

    Parameters

    enabled

    boolean

    Returns

    void

    Starts the timer

    Returns

    void

    Stops the timer

    Returns

    void

    Starts the timer and resets its elapsed time

    Returns

    void

    Updated about 1 month ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.