# Locking of Layers like Gimp

**URL:** <https://discourse.mapeditor.org/t/locking-of-layers-like-gimp/61>\
**Category:** Suggestions\
**Created:** [November 19, 2014, 3:18pm UTC](https://discourse.mapeditor.org/t/locking-of-layers-like-gimp/61 "2014-11-19T15:18:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_K](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@Robert\_K](https://discourse.mapeditor.org/u/Robert_K)\
**Post date:** [November 19, 2014, 3:18pm UTC](https://discourse.mapeditor.org/t/locking-of-layers-like-gimp/61/1 "2014-11-19T15:18:14Z")

</div>

Hey Guys,

I often run into the Problem, that I accidentally draw in anotherlayer than i was expected to draw in.

It would be very sweet if the Layer view would inccoperate a lock layer next to the visible icon like in Gimp.

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [November 20, 2014, 8:39am UTC](https://discourse.mapeditor.org/t/locking-of-layers-like-gimp/61/2 "2014-11-20T08:39:41Z")

</div>

If you can hide the layer instead this will also prevent you from accidentally editing it. But eventually we should probably add layer locking as well anyway. The following github issue exists about this:

> <https://github.com/bjorn/tiled/issues/734>
>
> I think this should be added to prevent the user from working on the wrong layer.

---

<div class="post-metadata">

**Author:** ![Robert\_K](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@Robert\_K](https://discourse.mapeditor.org/u/Robert_K)\
**Post date:** [November 21, 2014, 9:22am UTC](https://discourse.mapeditor.org/t/locking-of-layers-like-gimp/61/3 "2014-11-21T09:22:49Z")

</div>

Thats cool 🙂 - so you can see the other layers without accidentially draw on them
