showLayerTileOnEnter() Function Reference

showLayerTileOnEnter(string layer)

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

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