releaseCameraPanRange() Function Reference

releaseCameraPanRange()

Releases the camera from its current pan range.


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

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

	-- Restrict camera panning
	qiso.setCameraPanRange(10, 10, 40, 40)

	-- Release camera panning
	qiso.releaseCameraPanRange()

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