Change how sprites and the stage look: costumes, backdrops, visibility, size, and speech bubbles.
// Make the sprite show a speech bubble for a number of seconds
self.sayWait("Hello!", 2);
// Make the sprite show a speech bubble
self.say("Hello!");
// Make the sprite show a thought bubble for a number of seconds
self.thinkWait("Hello!", 2);
// Make the sprite show a thought bubble
self.think("Hello!");
// Set a graphic effect to a given value
self.effects.color = 100;
// Change a graphic effect by a given amount
self.effects.color += 10;
// Remove all graphic effects from the sprite
self.clearEffects();
// Switch the sprite to a specific costume
self.switchCostumeTo("Scrappy");
// Switch the sprite to the next costume
self.nextCostume();
// Switch the stage to a specific backdrop
self.switchBackdropTo("Stage");
// Switch the backdrop and wait until its scripts finish
self.switchBackdropToWait("Stage");
// Switch the stage to the next backdrop
self.nextBackdrop();
// Show the sprite
self.show();
// Hide the sprite
self.hide();
// Set the sprite's size to a percentage
self.size = 100;
// Change the sprite's size by a given amount
self.size += 10;
// Bring the sprite forward one layer
self.goForward();
// Send the sprite backward one layer
self.goBackward();
// Bring the sprite to the front layer
self.goToFront();
// Send the sprite to the back layer
self.goToBack();
// Get the current value of a graphic effect
self.effects.color;
// Check whether the sprite is currently visible
self.visible;
// Get the sprite's current size as a percentage
self.size;
// Get the name of the sprite's current costume
self.costume.name;
// Get the index of the sprite's current costume
self.costume.index;
// Get the name of the stage's current backdrop
self.backdrop.name;
// Get the index of the stage's current backdrop
self.backdrop.index;