getMapData() Function Reference

getMapData()

Returns the raw map data. Useful for creating saves for example, making bulk modifications, or just reading raw values.


	local qiso = require "plugin.qisoengine"
	qiso.setAssetsFolder("assets")
	qiso.loadTiledMap("sample-tilemap")

	local mapData = qiso.getMapData()
	print("Tile width:" .. mapData.tileWidth)