Lingo Dictionary > T-Z > zoomBox |
![]() ![]() ![]() |
zoomBox
Syntax
zoomBox
startSprite
,
endSprite
{,
delayTicks
}
Description
Command; creates a zooming effect, like the expanding windows in the Macintosh Finder. The zoom effect starts at the bounding rectangle of startSprite
and finishes at the bounding rectangle of endSprite
. The zoomBox
command uses the following logic when executing:
1 |
Look for |
2 |
Look for |
![]() |
Note, however, that the zoomBox
command does not work for endSprite
if it is in the same channel as startSprite
.
The delayTicks
variable is the delay in ticks between each movement of the zoom rectangles. If delayTicks
is not specified, the delay is 1.
Example
This statement creates a zoom effect between sprites 7 and 3:
zoomBox 7, 3
![]() ![]() ![]() |