CreatorSelections¶
Inherits Instance
CreatorSelections is an object that manages selections in the game instance. This class is only available in the creator.
Static Class
This object is a static class. It can be accessed like this: Selections.
Additionally, it cannot be created in the creator menu or with Instance.New().
Not newable
This object cannot be created by scripts using Instance.New().
Methods¶
Select → nil¶
Parameters: instance [ Instance ]
Select a instance
SelectChild → nil¶
Parameters: instance [ Instance ]
Select all children of the instance
GetSelected → { Instance }¶
Parameters: ``
Get all selected instances
Deselect → nil¶
Parameters: instance [ Instance ]
Deselect the instance
SelectOnly → nil¶
Parameters: instance [ Instance ]
Deselect all, then select the instance
DeselectAll → nil¶
Parameters: ``
Deselect all instances
HasSelected → boolean¶
Parameters: instance [ Instance ]
Check if instance has been selected
Events¶
Selected¶
Parameters: ``
Fires when an instance has been selected
Deselected¶
Parameters: ``
Fires when an instance has been deselected