Phaser API Documentation

  Version: 
setAccelerationX(value)

Description:

Sets the body's horizontal acceleration.

Parameters:

name type description
value number

The horizontal acceleration

Returns:
Description:

This Game Object.

Examples: