# This element can be used to define a trigger that will be fired when something is in the actual camera frustrum. This element is used as part of the XML file used to generate a mission. Full information on this file can be found here: - [Mission XML Properties](../mission-xml-properties/)   This element has the following attributes:   {{< table-wrapper >}} | Attribute | Description | Type | Required | |----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|:--------:| | `InstanceId` | The unique ID for the trigger action, as a {{< glossterm >}}guid{{< /glossterm >}} enclosed in `{}`. You can find more information on GUID's here: [GUIDs](../../../introduction/using-the-sdk/#GUIDs) | String | Yes | | `VRDependency` | When set to TRUE, this sets the trigger action as being VR dependent. Default is FALSE. | Bool | No | {{< /table-wrapper >}}   This element can also contain any of the following sub-elements, sometimes multiple times: 1. `` 2. `` 3. `` 4. `` 5. `` 6. `` 7. `` 8. `` 9. `` 10. `` 11. `` 12. `` 13. `` 14. `` 15. `` 16. `` 17. `` 18. ``     ### <SphereRadius> This sub-element of `` has no attributes and simply defines the radius of the sphere - in meters - that will be used to fire the camera trigger. This element has no default value and must be included as part of the trigger definition.     ### <WholeSphere> This sub-element of `` has no attributes and is used to tell the simulation whether the *whole* sphere should be in the camera frustum to fire the trigger (set to TRUE) or only part of the sphere (set to FALSE). Default value is FALSE.     ### <ThroughWindShield> This sub-element of `` has no attributes and is used to tell the simulation whether to detect the trigger if there is a collision with the windshield between the camera and the trigger sphere. When set to TRUE the trigger will not be fired of there is a collision, and if set to FALSE then it will. Default value is FALSE.     ### <FrustrumScaleX> This sub-element of `` has no attributes and is used to set the scale of the camera frustum along the X axis. The default value for this element is 1.     ### <FrustrumScaleY> This sub-element of `` has no attributes and is used to set the scale of the camera frustum along the Y axis. The default value for this element is 1.     ### <ShowMarker> This sub-element of `` has no attributes and is used to tell the simulation whether to show a marker to the user (set to TRUE) or not (set to FALSE). Default value is FALSE.