Touched (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator Brackets |
>Camoy formatted |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Event | |||
|name = Touched | |||
|arguments = [[BasePart]] ''part'' | |arguments = [[BasePart]] ''part'' | ||
|description = Fired when another part comes in contact with this object. | |description = Fired when another part comes in contact with this object. | ||
|object = BasePart | |object = BasePart | ||
}}</onlyinclude> | |||
{{clear floats}} | |||
{{Example|<pre> | {{Example|<pre> | ||
game.Workspace.Part.Touched:connect(function(part) | game.Workspace.Part.Touched:connect(function(part) | ||
Line 11: | Line 13: | ||
end) | end) | ||
</pre>}} | </pre>}} | ||
[[Category:Events]] |