# CCActionJumpBy Class Reference

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

## Overview

This action moves the target simulating a parabolic jump movement by modifying its position attribute.

## Tasks

- `+ actionWithDuration:position:height:jumps:`
- `– initWithDuration:position:height:jumps:`

## Class Methods

### actionWithDuration:position:height:jumps:

Creates the action.

`+ (id)actionWithDuration:(CCTime)duration position:(CGPoint)position height:(CCTime)height jumps:(NSUInteger)jumps`

#### Parameters

duration

  Action duration.

position

  Delta position.

height

  Height of jump.

jumps

  Number of jumps to perform.

#### Return Value

New jump action.

#### Declared In

`CCActionInterval.h`

## Instance Methods

### initWithDuration:position:height:jumps:

Initializes the action.

`- (id)initWithDuration:(CCTime)duration position:(CGPoint)position height:(CCTime)height jumps:(NSUInteger)jumps`

#### Parameters

duration

  Action duration.

position

  Delta position.

height

  Height of jump.

jumps

  Number of jumps to perform.

#### Return Value

New jump action

#### Declared In

`CCActionInterval.h`