Scratch for Java

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

View on GitHub

Syntax

Java

.getHitbox()

Return

Shape

getHitbox()

Create Shareable URL

Select Sections