[size:14pt]Snap to Grid Example [/size]
This is simple snap to grid example using the mouse. Just click and hold the left mouse button on the block. When you release the mouse button the block will be dropped on the grid. This is based on a 32X32 grid.
I hope this example will help someone. It will also be placed on my website.