Scratch for Java

Shape()

A shape on the stage: a polygon, rectangle, circle, ellipse or triangle. Shapes serve as hitboxes (sprite.setHitbox(...)) and can be tested against each other. Circles and ellipses are stored as polygons that stay within a quarter pixel of the true outline.

Shapes that only touch, along an edge or at a corner, do not intersect.

Shape()

Create Shareable URL

Select Sections