3D Lingo Dictionary > C-D > cameraPosition |  |

cameraPosition

Syntax

    member(whichCastMember).cameraPosition
    sprite(whichSprite).cameraPosition

Description

3D cast member and sprite property; indicates the position of the default camera.

The default value of this property is vector(0, 0, 250). This is the position of the default camera in a newly created 3D cast member.

Example

This statement shows that the position of the default camera of the cast member named Babyland is the vector (-117.5992, -78.9491, 129.0254).

    member("Babyland").cameraPosition = vector(-117.5992, -78.9491, 129.0254)

See also

`cameraRotation`, `autoCameraPosition`