Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design Illustrator Foundations Creating an Icon Understanding Shapes

Grady Kelly
Grady Kelly
505 Points

Is there a way to turn off all the half and thousandths of a pixel positioning?

I am coming from using Fireworks for over 10 years. Everything is by the whole pixel. Nothing is at x: 411.5 / y 200.234 it would be 411/200. The same with widths and heights. Any way to make Illustrator do this?

1 Answer

Select the object and then tick the Align to Pixel Grid option on the Transform Panel. This will force objects to snap to the nearest pixel. So, beware, paths will move and changes to match the pixel grid. And strokes are limited to nothing less than 1pt/px.

When creating a new document, you can also choose the option to Align New Objects to Pixel Grid in the New Document dialog window. You can also choose the Align New Objects to Pixel Grid item in the Transform Panel menu to make all newly created objects have the option set by default.

Grady Kelly
Grady Kelly
505 Points

Thanks Jon for the answer! The only other problem that I am having is the x/y coordinates are in 1/2 pixels as well. When I adjust them the pixels get antialiased. Am I missing something?

No you are not missing anything. Try to transform your object and adjust it in 410 pixels instead of 411. I think that this is the problem. You are welcome.