# CCActionProgressTo Class Reference

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

## Overview

This action is for use with the CCProgressNode to control the progression to animation.

## Tasks

- `+ actionWithDuration:percent:`
- `– initWithDuration:percent:`

## Class Methods

### actionWithDuration:percent:

Creates a progress action.

`+ (id)actionWithDuration:(CCTime)duration percent:(float)percent`

#### Parameters

duration

  Action duration.

percent

  Percentage.

#### Return Value

New prgress action.

#### Declared In

`CCActionProgressTimer.h`

## Instance Methods

### initWithDuration:percent:

Initializes a progress action.

`- (id)initWithDuration:(CCTime)duration percent:(float)percent`

#### Parameters

duration

  Action duration.

percent

  Percentage.

#### Return Value

New progress action.

#### Declared In

`CCActionProgressTimer.h`