For thread safety, this property is not safe to read in an unsynchronized thread.
The Touched event fires when a part comes in contact with another part. For instance, if PartA bumps into PartB, then PartA.Touched fires with PartB, and PartB fires with PartA.
This event only fires as a result of physics movement, so it will not fire if the CFrame property was changed such that the part overlaps another part. This also means that at least one of the parts involved must not be
/BasePart/Anchored at the time of the collision.
Many types of parts are removed or destroyed as soon as they hit another part. This means that it is possible for the other part’s
/Instance/Parent to be nil. Be sure to check that
otherPart.Parent is not nil before using it, such as calling
The other part that came in contact with the given part.
This code sample demonstrates how to connect the Touched event of multiple parts in a Model to one function.
This code sample causes a part to blink its Reflectance and a PointLight every time it is touched. It uses a pattern that prevents multiple concurrent function calls from fighting with each other.
Touching Parts Count
This code sample creates a BillboardGui on a part that displays the number of parts presently touching it.