# Pixel-snapping in editor (DEFEDIT-472)

**URL:** <https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430>\
**Category:** Feature requests (USE GITHUB)\
**Created:** [November 5, 2015, 4:36pm UTC](https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430 "2015-11-05T16:36:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emil\_Englund](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/emil_englund/32/21_2.png) [@Emil\_Englund](https://forum.defold.com/u/Emil_Englund)\
**Post date:** [November 5, 2015, 4:36pm UTC](https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430/1 "2015-11-05T16:36:16Z")

</div>

I would like to have a checkbox in the editor that allows me to turn on pixel-snapping. That is, preventing any object that is moved or placed from ending up at a position between pixels. It would be like a one-pixel-size grid in addition to the standard grid-functionality, since I still want to be able to have grid snapping as well.

Right now when building levels, I spend a lot of time manually setting my translation-values on props to integers. In one project I’ve even placed a script on every prop-gameobject that floors its x and y positions but I’d rather not have that.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [November 5, 2015, 6:57pm UTC](https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430/2 "2015-11-05T18:57:31Z")

</div>

Yes, pixel-snapping would be really useful. @Ingela_Garneij or @Ragnar_Svensson is this in the backlog for the new editor?

---

<div class="post-metadata">

**Author:** ![Ingela\_Garneij](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/i/ce73a5/32.png) [@Ingela\_Garneij](https://forum.defold.com/u/Ingela_Garneij)\
**Post date:** [November 9, 2015, 8:23am UTC](https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430/3 "2015-11-09T08:23:44Z")

</div>

Yes, this is in our backlog, and will be prioritised when the new Editor is released. Thanks for poking us about it!

---

<div class="post-metadata">

**Author:** ![Yaroslav\_Kravtsov](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/yaroslav_kravtsov/32/1982_2.png) [@Yaroslav\_Kravtsov](https://forum.defold.com/u/Yaroslav_Kravtsov)\
**Post date:** [October 6, 2016, 7:26pm UTC](https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430/4 "2016-10-06T19:26:39Z")

</div>

Are there any news about this item? It is really necessary for pixel-art games.

---

<div class="post-metadata">

**Author:** ![stephannGameDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/stephanngamedev/32/2223_2.png) [@stephannGameDev](https://forum.defold.com/u/stephannGameDev)\
**Post date:** [October 6, 2016, 11:54pm UTC](https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430/5 "2016-10-06T23:54:08Z")

</div>

@britzl, would be nice move objects with arrows on editor.  
ex.:  
`KEY_RIGHT = Move Right 1px.`  
`SHIFT + KEY_RIGHT = Move Right 10px or 20px`

It would also be great a trackpad support on editor. I’d love to use pinch to zoom and scroll with two finger to move viewport.  
 ![](https://defold-forum-bucket.nbg1.your-objectstorage.com/original/2X/f/f2fd256bdba46a2c31314649bcb6e366e3c89d7e.gif)

![](https://defold-forum-bucket.nbg1.your-objectstorage.com/original/2X/9/9ffdb09949fd2e4d0d9455dd37b0563689bea9a5.gif)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [October 7, 2016, 7:36am UTC](https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430/6 "2016-10-07T07:36:52Z")

</div>

I totally agree! The new editor does currently not support it either, but it is still in beta so I think we’ll see it implemented at some point. Right @Ragnar_Svensson and @Erik_Angelin?

---

<div class="post-metadata">

**Author:** ![Erik\_Angelin](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@Erik\_Angelin](https://forum.defold.com/u/Erik_Angelin)\
**Post date:** [October 10, 2016, 7:56am UTC](https://forum.defold.com/t/pixel-snapping-in-editor-defedit-472/430/7 "2016-10-10T07:56:46Z")

</div>

Added issue DEFEDIT-472
