Variables; - spriteHeight: the calculated height of the sprite - spriteWidth: the calculated width of the sprite - topY: the topmost Y coordinate of the sprite costume in the stage. - topX: the rightmost X coordinate of the sprite costume in the stage. - bottomY: the bottommost Y coordinate of the sprite costume in the stage. - bottomX: the leftmost X coordinate of the sprite costume in the stage.
Feel free to use this for your projects! but pls do give credit. Ideas to use this for: Hitboxes, non-clone Hitboxes (pen sprites), etc.