Compulsion

Level & School
4th-level enchantment
Casting Time
Action
Range
30 feet
Components
V, S
Duration
Concentration, up to 1 minute
Classes
Bard

Each creature of your choice that you can see within range must succeed on a Wisdom saving throw or have the Charmed condition until the spell ends.

For the duration, you can take a Bonus Action to designate a direction that is horizontal to you. Each Charmed target must use as much of its movement as possible to move in that direction on its next turn, taking the safest route. After moving in this way, a target repeats the save, ending the spell on itself on a success.

Level & School
4th-level enchantment
Casting Time
Action
Range
30 feet
Components
V, S
Duration
Concentration, 1 minute
Classes
Bard

Creatures of your choice that you can see within range and that can hear you must make a Wisdom saving throw. A target automatically succeeds on this saving throw if it can't be charmed. On a failed save, a target is affected by this spell. Until the spell ends, you can use a bonus action on each of your turns to designate a direction that is horizontal to you. Each affected target must use as much of its movement as possible to move in that direction on its next turn. It can take its action before it moves. After moving in this way, it can make another Wisdom saving to try to end the effect.

A target isn't compelled to move into an obviously deadly hazard, such as a fire or pit, but it will provoke opportunity attacks to move in the designated direction.

Compulsion 5.5e 2024 vs. 5e 2014 edition differences

The 2024 version introduces the Charmed condition, whereas the 2014 version does not. The 2024 version allows movement "up to 1 minute" duration, and specifies "taking the safest route," while the 2014 version states "1 minute" duration and does not specify route safety. The save to end the effect is repeated after movement in 2024.