SET CURRENT CAMERA This command will select the current active camera.
Syntax
    SET CURRENT CAMERA Camera Number
Parameters
    Camera Number
Integer The camera number
Returns
This command does not return a value.
Description
When more than one camera exists, and a camera command is used without specifying a camera number, the active camera is used.
Example Code
    autocam on:backdrop on

    make matrix 1,4000,4000,100,100

    set matrix height 1,50,50,500

    update matrix 1

    position camera 0,0,500,500

    point camera 0,2000,0,2000

    make camera 1

    position camera 1,0,500,500

    point camera 1,2000,0,2000

    set camera view 1,10,10,100,100

    while mouseclick()<>1

    if inkey$()="z" then set current camera 0 : c=0

    if inkey$()="x" then set current camera 1 : c=1

    control camera using arrowkeys c,1,1

    endwhile

    while mouseclick()=1 : endwhile

    delete matrix 1:autocam off:backdrop off

    end
See also
CAMERA Commands Menu Index