what you are looking for is this:
boolProp snapObjectsToGrid false (this turns it off)
and
boolProp snapObjectsToGrid true (turns it back on - which is the default)
It's not a cheat, though. BoolProp stands for Boolean Property. It's a property of the game.