World Sim |
Exposes simulation control functionality.
The Sim object exposes properties and methods for programatic control of the VisualBots simulator.
The following example pauses the simulator after it executes time step 1000. The simulation can be continued by clicking on the Play button on the VisualBots control.
If World.Sim.Time=1000 Then World.Sim.Pause