Adds snap to objects