Name (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens Seriously, stop using the b element to put text in bold. |
>JulienDethurens Seriously, stop using the b element to put text in bold. |
(No difference)
|
Latest revision as of 01:26, 27 March 2012
Name | |
Type | string |
Description | The name of the object, which is often used to identify it in the context of its parent. Note that names are not unique identifiers; multiple children of an object may share the same name. In a script where you want to access an object using a name, for example, game.Workspace["Brick"], the first object found with that name is that object. This "first object" can be found in the Explorer menu.Names are great for showing a very brief title or summary of an object. |
Member of | Instance |
Example
This code would create a new part and change its name to "Brick".
Instance.new('Part', Workspace).Name = "Brick"