method
Sprite.width
Sprite.width(id) -> int
Returns the pixel width of atlas sprite id (its sub-rect width) — handy for centering and layout.
Sprite.width(id) -> int
Returns the pixel width of atlas sprite id (its sub-rect width) — handy for centering and layout.