Other API Features

There are more API features not discussed here.

TiledGlobals

The [TiledGlobals]tiledglobals-url structure holds the default values used by the SKTiled API.

// set the debug frame color
TiledGlobals.default.debug.frameColor = SKColor(hexString: "#FA6400")

// get the framework version
let version = TiledGlobals.default.version

// set the debug callbacks for mouse events
TiledGlobals.default.debug.mouseFilters = [.tileCoordinates, .tileDataUnderCursor, .tilesUnderCursor]

Next: Debugging - Index