Mouse Snapping?

I was wondering how to move a gameobject to the moues but snap it like you can do in the unity editor when moving objects. I currently just move the objects straight to the mouse position and I want it to snap to every 32 pixels like you can do in the snapping grid for the editor. I wanna move the GameObject in-game and it’s 2D view.

So to rephrase your question, you want to snap the object in the editor towards the mouse but rather gradually than straight away. And you’re talking about doing that in the editor NOT in-game.

Why do you even want to do that if you have other ways to insure fine tuning of placing objects in the scene? i.e. :

#Normal Snap:

Select your gameobject.

Choose transform tool.

Hold CTRL & move in any direction

#Vertices Snap

Select your gameobject.

Choose transform tool.

Hold V.

Hold CTRL

Move your mouse to another vertex (Any surface/edge/point of any gameobject)

In case if you required a custom snapping motion and my answer was insufficient to you, then PM vexe and hopefully he’ll have a sufficient one.