3D Lingo Dictionary > L-N > loop (cast member property) |  |

loop (cast member property)

Syntax

    member(whichCastmember).loop

Description

3D cast member property; indicates whether motions applied to the first model in the cast member repeat continuously (`TRUE`) or play once and stop (`FALSE`).

The default setting for this property is `TRUE`.

Example

This statement sets the loop property of the cast member named Walkers to TRUE. Motions being executed by the first model in Walker will repeat continuously.

    member("Walkers").loop = TRUE

See also

`motion`, `play()`, `queue()`, `animationEnabled`