# CCActionFlipY Class Reference

Inherits from | CCActionInstant : CCActionFiniteTime : CCAction : NSObject
Declared in | CCActionInstant.h

## Overview

This action will lips the target in y direction.

## Tasks

### Creating a CCActionFlipY Object

- `+ actionWithFlipY:`

### Initializing a CCActionFlipY Object

- `– initWithFlipY:`

## Class Methods

### actionWithFlipY:

Creates a flip action with y direction flipped or non flipped.

`+ (id)actionWithFlipY:(BOOL)y`

#### Parameters

y

  Defines if target is flipped.

#### Return Value

The flip action object.

#### Declared In

`CCActionInstant.h`

## Instance Methods

### initWithFlipY:

Initializes a flip action with y direction flipped or non flipped

`- (id)initWithFlipY:(BOOL)y`

#### Parameters

y

  Defines if target is flipped

#### Return Value

The initialized flip action object.

#### Declared In

`CCActionInstant.h`