How to make sprites Snap to grid

I was wondering how to make a 10x12 grid with each square at 64x64px/32x32px, then be able to drag sprites onto the grid from a sidebar so they snap/lock to the grid.

Then if I touch the sprites that are already “snapped/locked” for a 1-2sec they scale up and starts to wiggle like the Icons does on the iphone screen when you delete or move apps around.

And last, when snapped/locked sprites are tapped they rotate 90 degrees for each time you tap them.

I’m trying to make a jigsaw puzzle app for my first project in Corona. I might try to make the puzzle 8x10 squares at 80x80px/40x40px if it gets too hard to tap and move the puzzle pieces.

Anyone have any ideas or can help me out with this?
David [import]uid: 34126 topic_id: 6340 reply_id: 306340[/import]