hideLayerTileOnEnter() Function Reference

hideLayerTileOnEnter(string layer)

Sets a layer so that its tiles are only visible when no character is on that tiles location. Useful for toggling the visibility of closed doors for example.

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