hideLayerOnEnter() Function Reference

hideLayerOnEnter(string layer)

Sets an entire layer to only be visible when no character is on any of that layers tiles. Useful for toggling the visibility of roofing for example.

Rather than calling hideLayerOnEnter() manually, refer to the loadTiledMap() documentation as Qiso can set all of this up internally, using custom layer properties.