-- Lingo syntaxspriteObjRef.rect // JavaScript syntaxspriteObjRef.rect;
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. Read/write.
This statement displays the coordinates of bitmap sprite 20:
-- Lingo syntax put(sprite(20).rect) // JavaScript syntax put(sprite(20).rect);