# Debug Lights The User Lights window is used to show information and debug the different lights on an aircraft. It can be opened from the [Tools](../../menus/tools/) menu and will look something like this by default: {{< image-center src="images/2_DevMode/simobject_editor/debug/user_lights/windows_10.png" alt="The User Lights Window" >}}   This window is split into two main section. At the top you have the tools for in-sim visualisation, and below that you have the information about each individual light.   For in-sim visualisation, if you click the **Show Effects Position** box, it will enable debug information to be drawn directly over the simulation, something like this: {{< image-center src="images/2_DevMode/simobject_editor/debug/user_lights/windows_11.png" alt="Light Information Shown As An Overlay Within The Simulation" >}} The actual information shown will depend on which of the other checkboxes you have ticked: - Click the **Show Flashlight** option to toggle on/off the display of the pilot flashlight. - Click the **Show Name** option to toggle on/off the name text in the overlay. - Click the **Show Direction And Cone** option to toggle on/off the direction and cone information in the overlay. - Add text to the **Filter** input box to filter the lights shown in the overlay.   The section beneath the visualisation options lists each individual light and also gives a couple of global options: - **Override Light System**: Checking this actiavte the light system override, disabling all lights by default, and enabling the two buttons listed below. - `Active All Lights`: Clicking this will enable all the defined lights at once. - `Deactivate All Lights`: Clicking this will disable all the defined lights at once.   Below the global options you have the list of individual lights, split into the following sections: - **Denominator**: The light denominator, as defined by the `[LIGHTS]` section of the `system.cfg` file for the aircraft. - **Effect**: The name of the effect file that the light is using. - **Node**: The name of the node where the light should be spawned. - **Mesh Name**: The name of the mesh used by the light for close inspection. - **Mesh Mat. Name**: The name of the material that has been assigned to the mesh. - **Position**: The X/Y/Z position of the light, relative to the [Datum Reference Point](../../../content-configuration/modular-simobjects/aircraft/aircraft/#datum-reference-point). - **Rotation**: The rotation of the light around the X/Y/Z axis. - **Active Parameters**: Show or hide the active emitter parameters for the light.   All of the fields mentioned above are **editable** and so you can use them to change any of the available parameters for the light, and these changes will also be reflected in the in-sim visualisation. However, **these changes will not be saved** with the aircraft, and are designed so you can tweak values and see what the outcome is before doing any edition of the `system.cfg` file.   Note that the **Active Parameters** section has two buttons: `Not Selected` and `EmitterN`. Clicking on the emitter button will expand the light list of the current light and show the emitter information: {{< image-center src="images/2_DevMode/simobject_editor/debug/user_lights/windows_13.png" alt="The Emitter Section For A Light" >}} As with the general light data, all these fields are editable, although they won't be saved. Each field represents the following information about the light emitter: - **minProjSize**: The minimum projection size on-screen. Use {{< input "Ctrl" />}} + left click to edit, or click and drag the slider. - **Start**: The starting color RGBA components. - **End**: The ending color RGBA components. - **Type**: The type of light being emitted (*None*, *Spot* or *Omni*). - **Size**: The size of the light emitter. - **Range**: The range of the light emitter. - **Intensity**: The intensity of the light, between 0 and the Maximum Intensity (set below). Use {{< input "Ctrl" />}} + left click to edit, or click and drag the slider. - **Maximum Intensity**: The maximum possible intensity for the light. - **Softness**: The softness of the light. - **Volumetric**: Whether the light is volumetric (1.0) or not (0.0). - **Scattering Direction**: The scattering direction for the light. - **Inner Angle**: The inner angle of the emitter. - **Outer Angle**: The outer angle of the emitter.   Once you are finished reviewing and/or editing the details listed here, you can then click the `Not Selected` button to close the emitter information.