readonly int Object.Loop
Gets the loop that the object is currently set to. If the object is not currently
assigned a view, this will be 0 (in which case the Graphic property will
hold its sprite number).
This property is read-only. To change the loop, use the animation functions.
Example:
Display("Object oDoor's loop is currently %d.", oDoor.Loop);
will display the oDoor object's current loop number
SeeAlso: Object.Frame,
Object.Graphic,
Object.View
|