Some functions return a sprite and I can use getWidth() and getHeight() to get the width and height of that sprite, but how can I get the bounds of it instead?
Returns the height of the sprite, in pixels. The height is calculated based on the bounds of the content of the sprite."
local MyTextField = TextField.new(MyFont, "LLLyyy")
How do I move this text to the upper left corner of the stage? setPosition(0, 0) doesn't work, as that puts most of the text above the stage.
Right now I do this:
But isn't there a better way, like a getUpperBound() function?