<HTML> <HEAD> <TITLE>get.dir</TITLE></HEAD> <BODY> <h1>get.dir</h1> <B>Category</B><p> <a href="object_commands.html">Object/view commands</a><p> <B>Syntax</B><p> <p> get.dir(oA,vDIR);<p> <B>Description</B><p> <p> vDIR is set to the direction object oA is currently travelling in. The value will be between 0 and 8:<p> <img src="logic_diag-directions.png" alt = "" ><p> <B>See also</B><p> <a href="set_dir.html">set.dir</a><p> <a href="moving_objects.html">Moving objects</a><p> </BODY></HTML>