LocalSimulationTouched (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mattchewy
No edit summary
>MrNicNac
Distinguishing between Touched.
Line 2: Line 2:
|<onlyinclude>{{Event|name = LocalSimulationTouched
|<onlyinclude>{{Event|name = LocalSimulationTouched
|arguments = [[Instance]] ''part''
|arguments = [[Instance]] ''part''
|description = Fired when another part comes in contact with another object.
|description = Fired when another part comes in contact with another object. This event only sends data to the '''client''' that something has been touched, not the server.
|object = BasePart
|object = BasePart
|}}</onlyinclude>
|}}</onlyinclude>

Revision as of 17:22, 21 June 2011

LocalSimulationTouched ( Instance part )
Description Fired when another part comes in contact with another object. This event only sends data to the client that something has been touched, not the server.
Member of: BasePart
Example
game.Workspace.Part.LocalSimulationTouched:connect(function(p)
  print(p)
end)