3D Lingo Dictionary > L-N > loc (backdrop and overlay) |
![]() ![]() ![]() |
loc (backdrop and overlay)
Syntax
sprite(whichSprite
).camera{(index
)}.backdrop[index
].loc member(whichCastmember
).camera(whichCamera
).backdrop[index
].loc sprite(whichSprite
).camera{(index
)}.overlay[index
].loc member(whichCastmember
).camera(whichCamera
).overlay[index
].loc
Description
3D backdrop and overlay property; indicates the 2D location of the backdrop or overlay, as measured from the upper left corner of the sprite.
This property is initially set as a parameter of the addBackdrop
, addOverlay
, insertBackdrop
, or insertOverlay
command which creates the backdrop or overlay.
Example
This statement positions the first backdrop of the camera of sprite 2.
sprite(2).camera.backdrop[1].loc = point(120, 120)
See also
![]() ![]() ![]() |