• Stops execution for a specified amount of time.

    Warning: This stops execution of both the JavaScript runtime and the game thread. This is only for specific use cases (use setTimeout instead.)

    Parameters

    • ms: number

      The amount of time to sleep.

    Returns void

Generated using TypeDoc