--- id: sprite-width name: Sprite.width category: sprite kind: namespace-method tokens: Sprite.width sig: Sprite.width(id) -> int tip: The atlas sprite's width in pixels. order: 8 ns: Sprite member: width --- Returns the pixel width of atlas sprite id (its sub-rect width) — handy for centering and layout.