TouchEnded (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Itunes89
No edit summary
>Flurite
No edit summary
Line 8: Line 8:
{{clear floats}}
{{clear floats}}


{{Example|<pre>
{{Example|<code lua>
game.Workspace.Part.TouchEnded:connect(function(otherPart)
game.Workspace.Part.TouchEnded:connect(function(otherPart)
   print(otherPart.Name)
   print(otherPart.Name)
end)
end)
</pre>}}
</code>}}


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

Revision as of 19:31, 22 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)