# CCActionEaseElastic Class Reference

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

## Overview

CCActionEaseElastic adds a period property and applies a dampened oscillation to the specified action.

## Tasks

- `period` property
- `+ actionWithAction:period:`
- `– initWithAction:period:`

## Properties

### period

Period of the wave in radians. Default is 0.3.

`@property (nonatomic, readwrite) float period`

#### Declared In

`CCActionEase.h`

## Class Methods

### actionWithAction:period:

Creates the action with the inner action and the period in radians (default is 0.3).

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

#### Parameters

action

  Action to apply ease action to.

period

  eriod of wave in radians.

#### Return Value

New elastic action.

#### Declared In

`CCActionEase.h`

## Instance Methods

### initWithAction:period:

Initializes the action with the inner action and the period in radians (default is 0.3).

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

#### Parameters

action

  Action to apply ease action to.

period

  eriod of wave in radians.

#### Return Value

New elastic action.

#### Declared In

`CCActionEase.h`