(Formerly known as MoveOverlay, which is now obsolete)
int Overlay.Y;
Gets/sets the Y co-ordinate of the overlay (ie. the top edge of the overlay).
This allows you to dynamically move overlays around the screen.
Example:
Overlay* testOverlay = Overlay.CreateTextual(50,50,120,2,15,"This is a text overlay");
while (testOverlay.Y < 100) {
testOverlay.Y++;
Wait(1);
}
testOverlay.Remove();
creates a text overlay, then gradually slides it down the screen.
See Also: Overlay.CreateTextual,
Overlay.X, Overlay.Remove
|