How to make an entire tilemap visible and invisible

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jamo

I’m trying to make it so that walking to an area will make one tilemap disappear and another one show up using GDScript. Tilemap.visible = false doesn’t seem to work and I can’t find an opposite to Tilemap.hide.

:bust_in_silhouette: Reply From: Midonk is the opposite of CanvasItem.hide()and as Tilemap is a CanvasItem, CanvasItem.visible property should be usable