3D Lingo Dictionary > C-D > cameraCount()

 

cameraCount()

Syntax

sprite(whichSprite).cameraCount()

Description

3D command; returns the number items in the list of cameras of the sprite.

Example

This statement shows that sprite 5 contains three cameras.

put sprite(5).cameraCount()
-- 3

See also

addCamera, deleteCamera