Most spells target a spot on the battlefield, not a unit. That means you must either allow for movement or aim at stationary enemies.