Sets the scale of this Game Object.
name | type | arguments | Default | description |
---|---|---|---|---|
x | number | <optional> | 1 |
The horizontal scale of this Game Object. |
y | number | <optional> | x |
The vertical scale of this Game Object. If not set it will use the x value. |
point | Phaser.Math.Vector2 | <optional> |
The point (Vector2) from which scaling will occur. |
This Game Object.