Delay Method

See Also Applies To Example Model

Delays program execution for a specified time interval.

object expression.Pause (Seconds)

object expression    Required. An object expression that evaluates to an object in the Applies To list.

Seconds    Required Double. A real number specifying how long in seconds to delay execution

Example

The following example uses the Delay method to delay program execution in order to slow animation of Bot movement.

Bots.TurnRand -15, 15 
Bots.Step
World.Sim.Delay .1