The first thing I tried was
part.Position.X = math.floor(part.Position/3+0.5)*3
but then I did some research and realized you cant do that. but all pages I could find on this weren't on performing math on it.
now I'm stuck because even if I wanted to slide it with vector3 I dont know how I would do a math.floor with that
Output: (Vector3 expected, got number)
and lol sorry asking a lot of questions today, but they've all been really helpful
Edit: I'm trying to do this with XY&Z so I can use that equation above to round a parts position to nearest interval of 3
Edit: This is in a while true loop going to the players mouse and then applying this to make a grid placing system of every 3 pixels in each direction

1 comment
you can't change the x value like that