Create Gravity-Switch-V.1(Sloppy)

Easy gravity Switch, but its snaps to grid and kinda annoying. I'm trying to change it, but ITS SO HARD