RSX Code Reference
    Preparing search index...
    • rsx
    • waitForSeconds

    Function waitForSeconds

    • Yields until the specified duration in seconds passed. Returns the control to the calling coroutine in the frame following the frame where the duration time in seconds passed.

      Parameters

      • duration: number

      Returns Generator<number>

      duration