Delay Anchor

Overview

The delay anchor @delay can be used to force a temporary pause in the code. This will halt the code for a specified number of seconds and then proceed automatically.

Special Note: This will still apply when fast forwarding.

Usage

You can use the delay anchor by writing: # @delay time=n where n is the number of seconds you'd like to halt the script.

Examples

Example 1: Using @delay to pause the code for 2 seconds between @doc anchors

# Some code
a = 1
b = 2

# Explicit pause for 1 second
# @delay time=1

# Rest of code
c = a + b

Did this page help you?