Context-aware motion commands