So basically I have these 4 board game pieces that I would wanna make sure they are within a specific area to prevent the players from moving them outside the map. how would I do that?
Do u mean smthing like this?
local row = game.Workspace.Model.row
if row.Parent:IsA("Model") then
print("hi")
end
No, so imagine like if you were controlling something in the game with a 4x4 stud tile movement grid. I would want to make sure the player was within the sections the player has unlocked and not move the pieces outside of the map. Therefore I was wondering if you could detect if an object left an specific area?
1 Like