I want to run two animations on my spriteNode depending on its rotation. If the value is negative run one of the animations, if it\'s positive run the other. And I managed t
The method is supposed to be called on the node which the SKAction is running on.
Change
[self removeActionForKey:@"animation1"];
to
[sprite removeActionForKey:@"animation1"];