Contents

moveIn(with:duration:)

Creates a transition where the new scene moves in on top of the old scene.

Declaration

class func moveIn(with direction: SKTransitionDirection, duration sec: TimeInterval) -> SKTransition

Parameters

  • direction:

    The direction of the move. Possible values are described in Sktransitiondirection.

  • sec:

    The duration of the transition.

Return Value

A new transition.

See Also

Creating Transitions