# CCActionSkewTo Class Reference

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

## Overview

This action skews the target to the specified angles.

## Tasks

- `+ actionWithDuration:skewX:skewY:`
- `– initWithDuration:skewX:skewY:`

## Class Methods

### actionWithDuration:skewX:skewY:

Creates the action.

`+ (id)actionWithDuration:(CCTime)t skewX:(float)sx skewY:(float)sy`

#### Parameters

t

  Action duration.

sx

  X skew value.

sy

  Y skew value.

#### Return Value

New skew action.

#### Declared In

`CCActionInterval.h`

## Instance Methods

### initWithDuration:skewX:skewY:

Initializes the action.

`- (id)initWithDuration:(CCTime)t skewX:(float)sx skewY:(float)sy`

#### Parameters

t

  Action duration.

sx

  X skew value in degrees.

sy

  Y skew value in degrees.

#### Return Value

New skew action.

#### Declared In

`CCActionInterval.h`