Sim Object

See Also Properties Methods Events Model
World
Sim

Exposes simulation control functionality.

Using the Sim Object

The Sim object exposes properties and methods for programatic control of the VisualBots simulator.

Example

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