3D Lingo Dictionary > O-S > rotation (backdrop and overlay) |
![]() ![]() ![]() |
rotation (backdrop and overlay)
Syntax
sprite(whichSprite
).camera.backdrop[backdropIndex
].rotation member(whichCastmember
).camera(
whichCamera
)
.backdrop [backdropIndex
].rotation sprite(whichSprite
).camera.overlay[overlayIndex
].rotation member(whichCastmember
).camera[cameraIndex
].overlay [overlayIndex
].rotation
Description
3D property; allows you to get or set the rotation of the backdrop or overlay toward the default camera. The default value of this property is 0.0.
Example
This statement rotates a backdrop 60° around its registration point.
sprite(4).camera.backdrop[1].rotation = 60.0
See also
backdrop
, transform (property)
![]() ![]() ![]() |