-- Lingo syntax sprite(whichSprite).cameraCount() // JavaScript syntax sprite(whichSprite).cameraCount();
3D command; returns the number items in the list of cameras of the sprite.
None.
This statement shows that sprite 5 contains three cameras.
-- Lingo syntax put sprite(5).cameraCount() -- 3 // JavaScript syntax put(sprite(5).cameraCount()); // 3