SCL™ Basics
After the shaking is done, we prepare to show a fortune. This involves re-centering the sprite and swapping images. We also layer images as child sprites. This allows us to show a window to through which to view a fortune in the ball.
Child sprites are not launched, but are attached to a parent sprite. Notice also that we change the main image of the 'ball' sprite using and update command.
editable

WiggleDone does much more now than just removing the motions.
update sprite will change our 'image' for the main sprite. This image has a hollow square in the middle for our window.
children are added to the ball using insert into. The children are layered in the order given. The list of children must be in parenthesis unless there is only one child. In that case, no parenthesis are permitted.
We also want to re-center the ball sprite after it has been shaken. We do this with a translation alteration.
Notice also the two inserts at the end of WiggleDone. Those are 'inline', 'anonymous' alterations. They are a convenient way to add temporary alterations which don't need a name or a 'create' command. Alterations declared this way will automatically remove themselves when they are finished.
Also notice how the window is faded to give the effect of the triangle coming into view. This is done with a 'fade' alteration. Fades change the transparency of a sprite. In this case the window sprite is made transparent for the triangle to show through.