VObject Object

See Also Properties Methods Events Model
World
VObject

Holds a reference to a Bot, Cell, or VPoint object.

Using the VObject Object

The VObject is used as an argument for methods that apply to more than one object types.

A VObject can hold a Bot, Cell, or VPoint object.

Example

The following example calculates and reports the distance and direction from one Bot object to a Cell object. The Cell object is passed as a VObject argument to DistTo and DirTo methods.

Debug.Print Bot.DistTo Cell
Debug.Print Bot.DirTo Cell