Turtle, Observer, Patch

wait-until [condition]

Parameters:
[condition] List of commands A predicate that is run over and over again until it is true.

Description:
The caller waits until the [condition] is true. This command is used to make a button or procedure stop until some other event in your model occurs.

Examples:
wait-until [game-over = true] makes the caller wait until the game is over.

Related Commands:
wait