Skip to content

world_move

Move the running process through its world, using its collider. Available as world_move after import_globals() or mv.world.move.

Parameters

  • dx — Horizontal delta.
  • dy — Vertical delta.
local result = world_move(4, 0)
if result.hit then print("wall", result.id) end

Related: world_create.

See the collision guide for more examples and limits.