=====RemoveSubCamera===== ====Summary==== This function allows you to specify the name of a sub-camera to be removed from the scene. The name of the sub-camera must be exactly as defined by the [[addsubcamera]] function. ====Parameters==== ===Name=== //Type: Text Default: None// The name of the sub-camera to be removed. Must be exactly as defined by the [[addsubcamera]] function that added the camera you want to remove. ====See Also==== [[addsubcamera]] [[removelastsubcamera]] ====Examples==== > This code adds a sub-camera to the scene of type **World** at a position of **100,200,300** and a rotation of **90** degrees along the X axis. The sub-camera is given the name **MyNewCam**. > The script then waits for a click for a user before calling the //RemoveSubCamera// function. It passes a Name value of **MyNewCam** which will find the previously created camera of the same name and remove it.