Lingo Dictionary > A-C > bottom |
![]() ![]() ![]() |
bottom
Syntax
sprite(
whichSprite
).bottom
the bottom of sprite
whichSprite
Description
Sprite property; specifies the bottom vertical coordinate of the bounding rectangle of the sprite specified by whichSprite
.
When a movie plays back as an applet, this property's value is measured from the upper left corner of the applet.
This property can be tested and set.
Example
This statement assigns the vertical coordinate of the bottom of the sprite numbered (i + 1) to the variable named lowest
.
Dot syntax:
set lowest = sprite (i + 1).bottom
Verbose syntax:
set lowest = the bottom of sprite (i + 1)
See also
height
, left
, locH
, locV
, right
, top
, width
![]() ![]() ![]() |