TouchEnded (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
m Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">" |
m Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>" |
||
Line 12: | Line 12: | ||
print(otherPart.Name) | print(otherPart.Name) | ||
end) | end) | ||
</ | </syntaxhighlight>}} | ||
[[Category:Events]] | [[Category:Events]] |
Latest revision as of 06:17, 27 April 2023
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)