3D Lingo Dictionary > O-S > scale (backdrop and overlay)

 

scale (backdrop and overlay)

Syntax

member(whichCastmember).camera(whichCamera).backdrop[backdropIndex].scale
member(whichCastmember).camera(whichCamera).overlay[overlayIndex].scale

Description

3D property; allows you to get or set the scale value used by a specific overlay or backdrop in the referenced camera's list of overlays or backdrops to display. The width and height of the backdrop or overlay are multiplied by the scale value.The default value for this property is 1.0.

Example

This statement doubles the size of a backdrop.

sprite(25).camera.backdrop[1].scale = 2.0

See also

backdrop, overlay