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

QUICK QUESTION: Does the Touched function work with non CanCollide objects?

Egg.Touched:connect(function(otherPart)
  if otherPart.Name == "Grass" then
print("grass")
else
print(otherPart.Name)
end
end)

I am wondering if Grass were non CanCollide, would I still see the printed "grass" as the egg part passes through it? If not, how would I achieve this feat. Thanks.

1 comment

0

Pretty sure it will print when it touches CanCollide and non CanCollide parts.

1 answer

✓ Accepted answer

Yes, you can still touch it, you're just passing through it.

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