# get_step proc

Source: https://ref.dm-lang.org/proc/get_step

### 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
- [step proc](https://ref.dm-lang.org/proc/step.md)
- [walk proc](https://ref.dm-lang.org/proc/walk.md)
