I’m trying to create a floor system, where you can click and drag floor. However, I’m having issues with it. Pos1 is the CFrame of the part at the start, Pos2 is the Cframe where the mouse is. The starting point of the part should always exist tho. As you can see, it sometimes goes off the grid, and the starting point disappears.
I think it’s the fact that you have both parts of the Floor1.Position (Pos and GRID_SIZE) divided by 2.
Take the /2 out of one, then the other to see how it affects your placement.
The start pos is the part you seem before i click and drag. The square. It’s already locked to the grid correctly, so theres nothing wrong with the start and end pos i getting