# EDGEMODE System Variable [GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [E](%28E%29.md) | | | | --- | --- | | Type | Integer | | Saved-in | Registry | | Initial value | 0 | | Range | 0,1 | Controls how the TRIM and EXTEND commands determine cutting and boundary edges. 0 Uses the selected edge without an extensions 1 Extends or trims the selected object to an imaginary extension of the edge --- ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/E/EDGEMODE%20System%20Variable.md)