Direction in degrees. Defaults to 90 (right). Can be from -179 to 180.
Visual effects on the target. All default to 0.
The sprite's size. Default is 100.
OptionalsoundMirrors custom state.
Defaults to 100.
X scale then Y scale, both from 100. A negative scale means that the target should be flipped on that axis.
RGB channels from [0-255]
RGB channels from [0-255]
Create a new variable. If the ID is already used, silently does nothing. isCloud is ignored if the sprite is not the stage or if the cloud variable limit has been reached.
OptionalisCloud: booleanDelete the costume at a given index. Returns the deleted costume if one exists at that index, otherwise null.
Get the index of a costume with a given name. If the costume doesn't exist, returns -1.
Make sure this target is not the stage before calling this method.
Make sure this target and the target being moved behind are not the stage before calling this method.
Make sure this target is not the stage before calling this method.
Make sure this target is not the stage before calling this method.
Make sure this target is not the stage before calling this method.
Returns true if the target is not the stage and is not a clone.
RGB channels from [0-255]
Optionalfence: SimpleRectangleLook for a variable by its ID in this target. If it doesn't exist in this target, will check if it exists in the stage target. If it still doesn't exist, returns undefined.
OptionalskipStage: booleanOptionalskipStage: booleanOptionalskipStage: booleanCreate a clone of this sprite if the clone limit has not been reached.
Called by runtime when the green flag is pressed.
Called by the runtime when the project is stopped.
Rename the costume at a given index. Will throw an error if the index is out of bounds. If the new name is already used, it may be modified.
Move the costume from one index to another. Returns true if any change was made.
Update the current costume index. If index is not finite, it will be converted to 0. If index is not in the list, it will wrap around.
Change the sprite's direction. The direction will be wrapped as needed to fit in the expected range.
Change the sprite's size. The given size may be fenced to make the target fit on screen and isn't negative.
Update the sprite's position. The given coordinates may be fenced to make the target fit on screen. Set force to true to force the sprite to move even if it's being dragged.
Optionalforce: boolean
The index of the current costume.