---
title: userData
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/sktiledefinition/userdata
---

# userData

A dictionary containing arbitrary data.

## Declaration

```swift
var userData: NSMutableDictionary? { get set }
```

## Discussion

Discussion You use this property to store your own data in a tile definition. For example, you might use this property to specify whether this tile is a platform that a player can land on. SpriteKit doesn’t do anything with this data. However, the data is archived when the tile definition is archived.
