Phaser API Documentation

  Version: 
setBounceY(value)

Description:

Sets the vertical bounce value for this body.

Parameters:

name type description
value number

The amount of vertical bounce to apply on collision. A float, typically between 0 and 1.

Returns:
Description:

This Game Object.

Examples:
Since: 3.0.0