# `GSBackgroundLayer`

*Class*

Editable background content associated with a foreground layer.

## Declaration

```swift
class GSBackgroundLayer
```

```objc
@interface GSBackgroundLayer : GSLayer
```

```python
class GSBackgroundLayer(GSLayer)
```

## Overview

A background layer uses the identity, dimensions, update state, and undo handling of its foreground layer.

## Topics

### Instance Properties

- [`GSBackgroundLayer.foreground`](/Core/GlyphsCore/GSBackgroundLayer/foreground) — The layer whose background content this layer represents.

## Relationships

### Inherits From

- [`GSLayer`](/Core/GlyphsCore/GSLayer)

## See Also

### Background Layer

- [`GSLayer.background`](/Core/GlyphsCore/GSLayer/background) — Editable background content associated with the layer.
- [`GSLayer hasBackground`](/Core/GlyphsCore/GSLayer/hasBackground) — Whether a background layer has been created.
- [`GSLayer contentToBackgroundCheckSelection:keepOldBackground:`](/Core/GlyphsCore/GSLayer/contentToBackgroundCheckSelection:keepOldBackground:) — Copies shapes and anchors to the corresponding foreground or background layer.
- [`GSLayer swapForegroundWithBackground`](/Core/GlyphsCore/GSLayer/swapForegroundWithBackground) — Exchanges shapes, anchors, and hints between the foreground and background layers.

