Sets the size of this Game Object.
name | type | arguments | Default | description |
---|---|---|---|---|
width | number |
The width of this Game Object. |
||
height | number |
The height of this Game Object. |
||
resizeInput | boolean | <optional> | true |
If this Zone has a Rectangle for a hit area this argument will resize the hit area as well. |
This Game Object.