I am making a strategy board game which uses hexes for movement. I want my sprites which already move to snap to the hex grid when they move using the mouse. They are flat topped hexes. Here is their movement formulas.
horiz=¾*width=3/2*size
vert=height=sqrt(3)*size