Gets / sets the 2d geometry of the entity. The x and y values are relative to the center of the entity. This geometry is used when rendering textures for the entity and positioning in world space as well as UI positioning calculations. It holds no bearing on isometric positioning.
bounds2d (Numberx, Numbery)
NumberxThe new x value in pixels.
NumberyThe new y value in pixels.
Returns * "this" when arguments are passed to allow method chaining or the current value if no arguments are specified.
Set the dimensions of the entity (width and height)