Scratch for Java

DrawingSprite()

A sprite whose appearance is drawn in draw(Drawing). Movement, visibility, size, direction, transparency, layering and the stage camera work as for other sprites. Choose colours in draw() instead of adding costumes. It starts without a hitbox; give it a shape and enableHitbox() if needed.

Examples

View on GitHub

Syntax

Java

new DrawingSprite()
DrawingSprite()

Create Shareable URL

Select Sections