Hi Thanks for you Time And Efford I Appreciate it I Have a Grid System like Minicraft When a player Clicks a Part Will be Createt but these Parts Collide with each other and glitch because I have another on is there any solution to have anchored on and prevent overlapping my solution was to set anchored off and then wait 0.1 seconds so it pushes it out and then turn anchored on but that was not the smartest Solution here is the code
part.Anchored=false
wait(0.01)
part.Anchored=true
thank you.

6 comments
Please read the dev hub
https://developer.roblox.com/en-us/recipes/Preventing-Overlapping-Parts
thanks
Remove the instance if you dont want a new part
The whole line
then an error occurs attempt to index nil with 'Parent'