# DEFAULTLIGHTING System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [D](Help%20System/GSTARCAD/2026/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.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/DEFAULTLIGHTING.html) · © Gstarsoft Co., Ltd.