# DEFAULTLIGHTING System Variable
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [System Variables](Help%20System/GSTARCAD/2022/System%20Variables/(System%20Variables).md) → [D](Help%20System/GSTARCAD/2022/System%20Variables/D/(D).md)
**Function Description:**
The DEFAULTLIGHTING system variable is used to turn on and off the default lighting in place of
other lighting.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Drawing |
| Initial value | 1 |
| Range | 0,1 |
**System Variable Value:**
0: Default lighting is automatically turned
off when pointlights, spotlights, distant lights, or the sun are on.
1: Default lighting is turned on.