I've made a script in which when a player joins the game and finds a plot of land. They can build on it using a tool which places down a model wherever they click. This all then saves to a datastore and loads back up the next time they join.
The only problem is, i'm trying to make it so that they can only place within tiles in an area (e.g. a 512x512 baseplate split up into 32x32 tiles) Just so that things can be aligned and there's no messiness in the placing of models. But how would I go around doing this?
EDIT: Just thought of a better way of explaining this, lets just say I wanted to move the model 1 stud at a time. Because right now it just places wherever I click and doesn't snap to the grid
