enableCameraPan() Function Reference

enableCameraPan()

Enables camera pan functionality. When enabled, the player can drag the camera around with one finger.


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

	-- Enable camera panning when the screen is dragged
	qiso.enableCameraPan()

	-- Enable the main Qiso loop to render/update our world
	qiso.activate()