# CCActionTintTo Class Reference

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

## Overview

This action tints the target from current tint to the specified value.

Note: This action doesn’t support “reverse”

## Tasks

- `+ actionWithDuration:color:`
- `– initWithDuration:color:`

## Class Methods

### actionWithDuration:color:

Creates a tint to action.

`+ (id)actionWithDuration:(CCTime)duration color:(CCColor *)color`

#### Parameters

duration

  Action duration.

color

  Destination color tint to.

#### Return Value

New tint to action.

#### Declared In

`CCActionInterval.h`

## Instance Methods

### initWithDuration:color:

Initalizes a tint to action.

`- (id)initWithDuration:(CCTime)duration color:(CCColor *)color`

#### Parameters

duration

  Action duration.

color

  Destination color tint to.

#### Return Value

New tint to action.

#### Declared In

`CCActionInterval.h`