Sets or returns how a object's Icon orientation changes in response to a change in an object's direction. Read/write VbtOrientMode.
| VbtOrientMode can be one of the following: |
| vbtRotate Orients in the direction of movement |
| vbtNoRotate No rotation with movement |
| vbtFlipLeftRight Flips right for positive direction, left for negative direction |
| vbtFlipUpDown Flips up for direction > -90 and < 90, down for direction l< -90 or > than 90 |
| vbtRoll Rolls with movement |
The default for this property is vbtRotate.
In the following example, the OrientMode property is set so that the icon shape flips right if the Bot heading is positive, and left is it is negative.
Bot.Shape.OrientMode = vbtvbtFlipLeftRight