set.dir(oA,vDIR);
The direction of object oA is changed ot vDIR. vDIR must be between 0 and 8:
You can not set the direction of ego (object 0). Instead, change the value of v6 to the direction you want.
To find out what direction an object is currently travelling in, use the get.dir command.
get.dir
start.motion
Moving Objects