Phaser API Documentation

  Version: 
setVelocityY(y)

Description:

Sets vertical velocity of the physics body.

Parameters:

name type description
y number

The vertical velocity value.

Returns:
Description:

This Game Object.

Examples:
Since: 3.0.0