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
Enables the hitbox for the sprite. This method sets the hitboxDisabled flag to false, allowing the sprite to interact with other objects.
.enableHitbox()
void