Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to detect if a part is colliding with another part?

So I'm making a placement system, but I can find a way to detect if another part is colliding with another. I've tried :GetTouchingParts() and :GetConnectedParts() I even tried mouse.Target.Name, but still the block is able to collide into another block

1 answer

You can use .Touched game.Workspace.Touched:connect(function(touch) if Touched:IsA("BasePart") then

end

end)

2 comments

0

Yes, that would also trigger if placed next to it, right?

0

This event only triggers when the player touched it, this is not really what I wanted :/

This discussion is preserved as it was. New answers, comments, and votes are closed.