DM Reference

DM Ref

❯

procs

❯

step_towards proc

step_towards proc

1 min read

  • proc

Format

step_towards(Ref,Trg,Speed)

Returns

1 on success; 0 otherwise.

Args

  • Ref: A mob or obj.
  • Trg: An object on the map.
  • Speed: Speed to move, in pixels. 0 uses Ref.step_size.

Move Ref in the direction of the location Trg.

See also

  • get_step_towards proc
  • walk_towards proc
  • step_size var (movable atom)

Graph View

  • Format
  • Returns
  • Args
  • See also

Backlinks

  • get_step_towards proc
  • walk_towards proc

Discord Bot

Look up reference entries and run DreamMaker code directly in Discord.

Add to DiscordOpen Playground

Built for BYOND 516.1688

Created with Quartz v4.5.0 © 2026

  • GitHub