Lingo Dictionary > O-R > rect (sprite) |
![]() ![]() ![]() |
rect (sprite)
Syntax
sprite
whichSprite.
rect
the rect of sprite
whichSprite
Description
Sprite property; specifies the left, top, right, and bottom coordinates, as a rectangle, for the rectangle of any graphic sprite such as a bitmap, shape, movie, or digital video.
This property can be tested and set.
Example
This statement displays the coordinates of bitmap sprite 20:
put sprite(20).rect
![]() ![]() ![]() |