Hide a Layer, A very, very new user question

How to hide a TileLayer from the lua code? Is this enough? It doesn’t work for me
– Hide other layers
local layer = map:getTileLayer(“player01”)
layer:hide()

Thanks in advance! [import]uid: 12618 topic_id: 8597 reply_id: 308597[/import]

That should be working, can you send me your project so I can have a look at it - support@justaddli.me [import]uid: 5833 topic_id: 8597 reply_id: 30845[/import]