Talk:TouchEnded (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Itunes89
Created page with "You can't print a part? You would have to print the name of the part.."
>Crazypotato4
Itunes, use signature. tyvm.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
You can't print a part? You would have to print the name of the part..
You can't print a part? You would have to print the name of the part..
:The print function calls a tostring function on all the arguments passed to it.  For all Roblox instances, this returns their Name property.  In any case, it's probably better to print out the Name of the instance to avoid confusion.  --[[User:Crazypotato4|crazypotato4]] 00:34, 21 March 2012 (EDT)

Latest revision as of 04:34, 21 March 2012

You can't print a part? You would have to print the name of the part..

The print function calls a tostring function on all the arguments passed to it. For all Roblox instances, this returns their Name property. In any case, it's probably better to print out the Name of the instance to avoid confusion. --crazypotato4 00:34, 21 March 2012 (EDT)