Name (Property)
From Legacy Roblox Wiki
(Redirected from Name)
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"