Format

get_step(Ref, Dir)

Returns

The location of the new position.

Args

  • Ref: Starting point or object.
  • Dir: One of NORTH, SOUTH, EAST, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST.

Calculate the position of a step from Ref in the direction Dir.

See also

walk proc