Instance Property


An action executed by new particles.


@NSCopying var particleAction: SKAction? { get set }


Although you do not have direct access to the particles created by SpriteKit, you can specify an action that all particles execute. Whenever a new particle is created, the emitter tells the particle to run that action. You can use actions to create very sophisticated behaviors.

For the purpose of using actions on particles, you can treat the particle as if it were a normal node. This means you can perform other interesting tricks, such as animating the particle’s textures.

See Also

Animating Particles

Animating Particle Properties Across Disparate Values

Supply keyframe sequences to do linear or nonlinear particle animations.