Touched (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Added example
>ArceusInator
Brackets
Line 3: Line 3:
|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>
|}}</onlyinclude>
|}
|}

Revision as of 18:18, 30 December 2010

Touched ( BasePart part )
Description Fired when another part comes in contact with this object.
Member of: BasePart
Example
game.Workspace.Part.Touched:connect(function(part)
  print(part)
end)