# get_step_towards proc

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

### Format
> `get_step_towards(Ref, Trg)`

### Returns
> The location of the new position.

### Args
- `Ref`: Starting point or object.
- `Trg`: An object on the map.


Calculate the position of a step from `Ref` in the direction of `Trg`.

### See also
- [step_towards proc](https://ref.dm-lang.org/proc/step_towards.md)
- [walk_towards proc](https://ref.dm-lang.org/proc/walk_towards.md)
