Scratch for Java

Sprite::enableHitbox()

Enables the hitbox for the sprite. This method sets the hitboxDisabled flag to false, allowing the sprite to interact with other objects.

Syntax

Java

.enableHitbox()

Return

void

enableHitbox()

Create Shareable URL

Select Sections