Phaser API Documentation

  Version: 
processX(x, [vx], [left], [right])

Description:

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

Parameters:

name type arguments description
x number

The amount to add to the Body position.

vx number <optional>

The amount to add to the Body velocity.

left boolean <optional>

Set the blocked.left value?

right boolean <optional>

Set the blocked.right value?

Since: 3.50.0