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

How do I detect a part is colliding with another object?

Is there any way to detect a part is colliding with another object? Do I keep checking the part's CFrame or there's any better ways? Thanks.

2 comments

0

yes there is a way, and there is a better way, you are welcome! Glad to help! :D

0

The way to detect if a part is colliding with another object is this: part.OnTouched:Connect(function() --What action you would like to perform goes here-- end)

1 answer

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