# This element is a container for setting up an action to focus on a particular instrument in the cockpit. 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/)   The element has the following parameters:   {{< table-wrapper >}} | Attribute | Description | Type | Required | |----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|:--------:| | `InstanceId` | The unique ID for the focus 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 | | `id` | A unique ID string for the focus action. | String | No | | `VRDependency` | When set to TRUE, this sets the 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. ``     ### <SetHighlight> This element is a sub-element of `` and is used to set whether the instrument the action is focusing on should be highlighted (TRUE) or not (FALSE). The element has no attributes and is TRUE by default.     ### <FocusDuration> This element is a sub-element of `` and is used to set the duration that the instrument should be focused on when the action is triggered. The value is in seconds and setting the value to -1 will mean that the instrument is focused for an "infinite" time, ie: until some other action cancels it. The element has no attributes and is -1 by default.     ### <SetCamera> This element is a sub-element of `` and is used to say whether the action sets the camera (TRUE) or not (FALSE). The element has no attributes and is FALSE by default.     ### <InstrumentPartId> This element is a sub-element of `` and is used tell the action the Part ID of the instrument that you want the action to focus on. The element has no attributes.     ### <InstrumentHtmlId> This element is a sub-element of `` and is used tell the action the ID of the cockpit HTML instrument that you want the action to focus on. The element has no attributes.