Reference setLoop()

setLoop()

Set a loop region. The loop() method must be set to true for this to work.

Examples

Syntax

setLoop([startTime], [duration])

Parameters

startTime
Number: The start time of the loop point in seconds.
duration
Number: The duration of the loop point in seconds.

Related References