Sprite::getHitbox()
Returns the hitbox of the sprite based on its current costume, position, and rotation. If the sprite has a hitbox already defined, it updates and returns it. Otherwise, it calculates a new hitbox based on the sprite's dimensions and rotation.
Syntax
Java
.getHitbox()
Return
Hitbox
