# Bump proc (movable atom)

Source: https://ref.dm-lang.org/atom/movable/proc/Bump

### Format
> `Bump(atom/Obstacle)`

### When
> Called when a movement fails due to a dense blockage.

### Args
> Obstacle: The blocking object.

### Default action
> If the obstacle is a mob and src is in its group, swap their positions. This is only done if the mobs both move by full tiles and do not use pixel movement, to preserve the behavior of older games.

### See also
- [Move proc (movable atom)](https://ref.dm-lang.org/atom/movable/proc/Move.md)
- [Pixel movement](https://ref.dm-lang.org/notes/pixel-movement.md)
