Skip to content

The Costume class

PPPDUD edited this page Apr 7, 2026 · 4 revisions

The Costume class represents a Snap! costume; here are its properties:

data property

The data property is a dictionary containing internal information about the costume. Its contents are not guaranteed to be consistent across versions or project files, so it should not be used in production code.

name property

The name of the costume.

center_x property

The center X coordinate.

center_y property

The center Y coordinate.

image property

A base-64-encoded URI for the costume.

id property

Some sort of internal ID.

Clone this wiki locally