This question was answered before: https://screeps.com/forum/topic/2968/creep-move-order You can look here: https://github.com/screeps/engine/blob/master/src/processor/intents/movement.js https://github.com/screeps/engine/blob/master/src/processor/intents/creeps/move.js