Object/View Commands
get.dir(oA,vDIR);
vDIR is set to the direction object oA is currently travelling in. The value will be between 0 and 8:
set.dir Moving Objects