Lingo Dictionary > L-N > loc |
![]() ![]() ![]() |
loc
Syntax
sprite
whichSprite
.loc
the loc of sprite
whichSprite
Description
Sprite property; determines the Stage coordinates of the specified sprite's registration point. The value is given as a point.
This property
can be tested and set.
To see an example of loc
used in a completed movie, see the Imaging movie in the Learning\Lingo Examples folder inside the Director application folder.
Example
This statement checks the Stage coordinates of sprite 6. The result is the point (50, 100):
put sprite(6).loc -- point(50, 100)
See also
bottom
, height
, left
, locV
, right
, top
, width
![]() ![]() ![]() |