Phaser API Documentation

  Version: 
processY(y, [vy], [up], [down])

Description:

This is an internal handler, called by the ProcessY function as part of the collision step. You should almost never call this directly.

Parameters:

name type arguments description
y number

The amount to add to the Body position.

vy number <optional>

The amount to add to the Body velocity.

up boolean <optional>

Set the blocked.up value?

down boolean <optional>

Set the blocked.down value?

Since: 3.50.0