Let's say you can only build inside a certain restricted area, how would I check if the mouse is inside that area so that you can place in there? I tried this:
spawn(function()
mouse.Move:Connect(function()
if mouse.Hit.p < region.CFrame.p and region.Hit.p < mouse.CFrame.p then
print("yep")
end
end)
end)
But errored that I can't compare 2 userdata values.

1 comment
these can never be smaller than each other, one of them has to be bigger and the other one smaller