Phaser API Documentation

  Version: 
<static> BottomLeft(gameObject, alignTo, [offsetX], [offsetY])

Description:

Takes given Game Object and aligns it so that it is positioned next to the bottom left position of the other.

Parameters:

name type arguments description
gameObject Phaser.GameObjects.GameObject

The Game Object that will be positioned.

alignTo Phaser.GameObjects.GameObject

The Game Object to base the alignment position on.

offsetX number <optional>

Optional horizontal offset from the position.

offsetY number <optional>

Optional vertical offset from the position.

Returns:
Description:

The Game Object that was aligned.

Since: 3.0.0