W hen they went, they went in their four directions: they didn’t turn when they went.
When they went, they went in one of their four directions without turning.