What I am trying to do is create an object that will sort of follow the mouse, but it coordinates are always in multiples of 16. Right now, the origin of the object is in the top left corner at (0, 0). What I want to happen is when you move the mouse to lets say (17, 18), the object will go to (16, 16), same with if i had a coordinate like (22, 19). But then if I move the mouse to 33, 35, the object goes to (32, 32). Nothing I have tried seems to work. My latest attempt is posted here. What it does now is when MouseGridX and MouseGridY are both a multiple of 16, the object locks in place.