snap object to object in game view ?

my game object is moving while pressing the arrow keys but i want to snap the game object with other object or grid ,like when we press the ctrl key in keyboard in scene view and drag the mouse.i want same output in game view.
anyone tell me how can i get the result.

Here is a script on Unity’s wiki page what you’re looking for. It moves object smoothly but you can set speed to something low like 0.01 to acieve scene view grid movement.