In the first beta of Starling 2.0, I actually had it enabled globally, but it was not a good idea — it sometimes lead to strange results when tweening objects, so I had to disable it again. However, that doesn't mean it could work just fine in your game!
Here's a very easy way to enable it globally. Add the following code to your root class:
// in the constructor:
// add the following methods, too:
private function onAdded(event:Event):void
enablePixelSnapping(event.target as DisplayObject);
private static function enablePixelSnapping(object:DisplayObject):void
if (object == null) return;
var container:DisplayObjectContainer = object as DisplayObjectContainer;
var mesh:Mesh = object as Mesh;
var numChildren:int = container.numChildren;
for (var i:int=0; i<numChildren; ++i)
else if (mesh)
mesh.pixelSnapping = true;
Each time an object is added to the stage, this will check if it's a Mesh and will enable pixel snapping. That should do the trick!