Hey,
I work on a sidescrolling 2d game using paper2d. I made a level as a tilemap and set it up in different layers. Now, i wonder how i can hide a layer of the level tilemap on a key press. In the image below i made a reference of the tilemap and saved it in a variable (actor). But how can i toggle a layer on and off? alt text
Thanks in advance