Sets the scale of this Game Object.
name | type | arguments | Default | description |
---|---|---|---|---|
x | number |
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 |
This Game Object instance.