CAKeyframeAnimation *Animation = [CAKeyframeAnimation animationWithKeyPath:@"position"]; Animation.duration = 2; Animation.path = thePath.CGPath; Animation.calculationMode = kCAAnimationPaced; Animation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn];