Instance Property

speed

A speed factor that modifies how fast an action runs.

Declaration

@property(nonatomic) CGFloat speed;

Discussion

The speed factor adjusts how fast an action’s animation runs. For example, a speed factor of 2.0 means the animation runs twice as fast.

See Also

Controlling Action Timing

Configuring Action Timing

Time an action in a scene, by adding or modifying timing properties, or cancel an action.

duration

The duration required to complete an action.

timingMode

A setting that controls the speed curve of an animation.

SKActionTimingMode

The modes that an action can use to adjust the apparent timing of the action.

timingFunction

A block used to customize the timing function.

SKActionTimingFunction

The signature for the custom timing block.