# CCActionRepeatForever Class Reference

Inherits from | CCAction : NSObject
Conforms to | NSCopying
Declared in | CCAction.h

## Overview

Repeats an action for ever. To repeat the action for a limited number of times use the CCActionRepeat action.

Note: This action can’t be Sequence-able because it is not an IntervalAction

## Tasks

### Accessing the Repeat Forever Action Attributes

- `innerAction` property

### Creating a CCActionRepeatForever Object

- `+ actionWithAction:`

### Initializing a CCActionRepeatForever Object

- `– initWithAction:`

## Properties

### innerAction

Inner action.

`@property (nonatomic, readwrite, strong) CCActionInterval *innerAction`

#### Declared In

`CCAction.h`

## Class Methods

### actionWithAction:

Creates the repeat forever action.

`+ (id)actionWithAction:(CCActionInterval *)action`

#### Parameters

action

  Action to repeat forever.

#### Return Value

The repeat action object.

#### Declared In

`CCAction.h`

## Instance Methods

### initWithAction:

Initalizes the repeat forever action.

`- (id)initWithAction:(CCActionInterval *)action`

#### Parameters

action

  Action to repeat forever

#### Return Value

An initialised repeat action object.

#### Declared In

`CCAction.h`