Sprite::getHitbox()
The hitbox where the sprite is now, in stage coordinates: by default the rectangle around the costume's painted pixels; null for a sprite without costumes.
Examples
Syntax
Java
.getHitbox()
Return
Shape
The hitbox where the sprite is now, in stage coordinates: by default the rectangle around the costume's painted pixels; null for a sprite without costumes.
.getHitbox()
Shape