Now analyzes before moving: movement or rotate?