Reveal

The Reveal alteration hides or shows the images as if appearing from behind something.

create routine as Start launch ballShow launch ballHide end create sprite from ball1.png as ballShow where center=25,25 x=150 y=50 having alt=show end create sprite from ball1.png as ballHide where center=25,25 x=150 y=150 having alt=hide end create reveal as show where direction="left" speed=20 type="show" end create reveal as hide where direction="right" speed=20 type="hide" end

Parameters

completion={routine name}
the name of a routine to run with the operation is complete.
direction="{top|bottom|right|left}"
from which direction to enter or leave.
speed={number}
the speed with which to move the sprite
type="{show|hide}"
should the sprite enter or leave the view with this alteration.