TouchEnded (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
New page: <onlyinclude>{{Event |name = TouchEnded |arguments = BasePart ''otherPart'' |description = Fired when otherPart stops touching this object. |object = BasePart }}</onlyinclude> {{clear...
>Itunes89
No edit summary
Line 10: Line 10:
{{Example|<pre>
{{Example|<pre>
game.Workspace.Part.TouchEnded:connect(function(otherPart)
game.Workspace.Part.TouchEnded:connect(function(otherPart)
   print(otherPart)
   print(otherPart.Name)
end)
end)
</pre>}}
</pre>}}


[[Category:Events]]
[[Category:Events]]

Revision as of 04:28, 21 March 2012

TouchEnded ( BasePart otherPart )
Description Fired when otherPart stops touching this object.
Member of: BasePart


Example
game.Workspace.Part.TouchEnded:connect(function(otherPart)
  print(otherPart.Name)
end)