getTileData() Function Reference

getTileData(integer x, integer y)

Returns the raw tile data. Useful for example, if you need to check whether a particular tile contains a particular layer.


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

	local tileData = qiso.getTileData(6, 8)
	print("First layer:" .. tileData[1])