if getActiveCamera() != undefined then ( theCam = getActiveCamera() select #(theCam, theCam.target))
theCam = getActiveCamera()if theCam != undefined then( select if theCam.type == #target then #(theCam, theCam.target) else #(theCam);)
Replies
otherwise it throws an error with a free camera.