STATE_object_get_x_axis
Retrieves the X axis of the object. Note the following: x_axis * -1 == the object direction For more details see STATE_object_set_axis_system