Set (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
No edit summary
>Flurite
No edit summary
Line 1: Line 1:
<onlyinclude>{{Method
<onlyinclude>
{{Locked}}
 
{{Method
|name = Set
|name = Set
|arguments = [[Table]] ''selection''
|arguments = [[Table]] ''selection''

Revision as of 19:28, 12 April 2012

Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
Set( Table selection )
Returns nil
Description: Set's the client's selected objects to all of those in the table. You can select objects you wouldn't normally be able to like DataModel, SocialService, and other non-browsable Instances.
Member of: Selection


Example
game.Selection:Set(game:GetChildren())