# get_step_rand proc

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

### Format
> `get_step_rand(Ref)`

### Returns
> The location of the new position, or 0 if no change.

### Args
> Ref: Starting point or object.

Calculate position of a step from `Ref` in random motion.

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