# CCTransitionDirection Constants Reference

Declared in | CCTransition.h

### CCTransitionDirection

Defines the direction that the transition will move in.

If the direction is upwards, an exiting scene will ex. slide out the top, and an entering scene will slide in the bottom.

#### Definition

`typedef NS_ENUM(NSInteger, CCTransitionDirection ) {
CCTransitionDirectionUp,
CCTransitionDirectionDown,
CCTransitionDirectionRight,
CCTransitionDirectionLeft,
CCTransitionDirectionInvalid = -1,
};`

#### Constants

`CCTransitionDirectionUp`

  Transition moves upwards.

  Declared In `CCTransition.h`.

`CCTransitionDirectionDown`

  Transition moves downwards.

  Declared In `CCTransition.h`.

`CCTransitionDirectionRight`

  Transition moves rightwards.

  Declared In `CCTransition.h`.

`CCTransitionDirectionLeft`

  Transition moves leftwards.

  Declared In `CCTransition.h`.

`CCTransitionDirectionInvalid`

  Invalid transition direction.

  Declared In `CCTransition.h`.

#### Declared In

`CCTransition.h`