Returns String A string such as N, S, E, W, NW, NE, SW, SE. If there is currently no direction then the return value is a blank string.
Get the direction of movement along the current path
// Create an entity and add the path componentvar entity =newIgeEntity()
.addComponent(IgePathComponent);
// Create a path and add it to the entity// ...// Now get the current directionvar direction = entity.path.currentDirection();