We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The Sprite class defines a Snap! sprite; here are its properties:
name
The name of the sprite.
idx
Usage unknown; some sort of internal ID.
x
X coordinate of the sprite.
y
Y coordinate of the sprite.
heading
The direction of the sprite in degrees.
scale
The scale value of the sprite.
volume
The audio volume of the sprite.
pan
The audio pan of the sprite.
rotation
A number representing the sprite's rotation style.
instrument
A value representing the sprite's current instrument; None if no such value was specified in the project.
None
draggable
A boolean representing the draggability of the sprite.
hidden
Whether or not the sprite is visible; may be None.
costume
The costume number of the sprite.
color
A tuple representing the pen color of the sprite in RGBA format.
pen
Usage unknown.
id
sounds
A list of Sound objects that belong to the sprite.
variables
A list of Variable objects that belong to the sprite.