# `GSLayer.tempData`

*Instance Property*

Values associated with the layer for transient use.

## Declaration

```swift
var tempData: [String : Any]? { get set }
```

```objc
@property (nonatomic, strong) NSDictionary<NSString *,id> * tempData;
```

[See also `tempData` in the Python API](https://docu.glyphsapp.com/#GSLayer.tempData)

```python
pyobjc_instanceMethods.tempData() -> dict[str, object]
pyobjc_instanceMethods.setTempData_(tempData: dict[str, object])
```

## Discussion

Temporary data is not written to the font.

## See Also

### Temporary Data

- [`GSLayer setTempData:forKey:`](/Core/GlyphsCore/GSLayer/setTempData:forKey:) — Sets or removes a temporary value.
- [`GSLayer tempDataForKey:`](/Core/GlyphsCore/GSLayer/tempDataForKey:) — The temporary value for a key, or `nil` if no value is set.

