Returns a Box collision shape object
Parameter | Type | Description |
---|---|---|
x | Number | x position of the Box |
y | Number | y position of the Box |
width | Number | width of the Box |
height | Number | height of the Box |
Sets the position of the box
Parameter | Type | Description |
---|---|---|
x | Number | x position of the Point |
y | Number | y position of the Point |
Sets the scaling of the box
Parameter | Type | Description |
---|---|---|
width | Number | width of the box |
height | Number | height of the box |
Number
x position of the Box
Number
y position of the Box
Number
width of the Box
Number
height of the Box