Phaser API Documentation

  Version: 
setOriginFromFrame()

Description:

Sets the origin of this Game Object based on the Pivot values in its Frame.

Returns:
Description:

This Game Object instance.

Since: 3.0.0