Set.loop

From AGI Wiki
Jump to navigationJump to search

Set.loop

 


Syntax

set.loop(oA,B);

 

Description

The current loop of object oA is set to B. If an invalid loop number is given, the interpreter generates an error. If the current cel of the object is greater than the last cel in loop B, then the current cel is set to 0.

 

Sources

AGI Studio Help File

 

See also