Bounds Property

See Also Applies To Example Model

Sets or returns the way Bot objects interact with the edges of the Screen display area. Read/write VbtBoundary.

Remarks

This property affects the way distances and directions are calculated between objects. For example, in wrapped mode, the distance calculated from one Bot to another using the DistTo method is the shorter of all possible paths after accounting for wrapping around each of the Screen display edges.

Example

The following example sets the Bounds property to wrap mode.

World.Screen.Bounds = vbtWrapped