in most situations, we probably get the width and height at the same time, it will be a little more easier and efficient to get both since a little calculation is needed to get these two values.
I knew getBounds can do the same result as when I discussed whether sprite:getWidth() is needed to add the withoutTransform argument that I will probably never use.
Comments
a get size api maybe more straightforward.
Call sprite:getSize() is more straightforward than call sprite:getBounds(targetSprite) to get the transformed values.
Likes: SinisterSoft