Sprite::drawDebug()
Draws debug information for the sprite. This includes the hitbox and the current costume. The hitbox is drawn if it is not disabled and the sprite is not a UI element. The current costume is drawn if there are costumes available and the sprite is set to be shown.
Syntax
Java
.drawDebug(buffer)
Parameters
| Name | Data Type | Description |
|---|---|---|
| buffer | PGraphics |
Return
void
