Instance Property


A dictionary containing arbitrary data.


var userData: NSMutableDictionary? { get set }


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.