Moves simulation from play mode to pause mode.
object expression.Pause
object expression Required. An object expression that evaluates to an object in the Applies To list.
Is equivalent to clicking on the Pause button on the VisualBots control. Execute the Advance, Play, or End methods to exit pause mode.
The following example runs executes Pause mode after 20000 time steps.
if World.Sim.Time=20000 then World.Sim.Pause