Selection
Reads and changes the current Studio selection.
- Service
game:GetService("Selection")- Inherits
- Instance
- Replication
- Never
Behavior
Selection reads and changes the current Studio selection.
Summary
Members4
Methods3
Returns the currently selected Instances.
Returns this instance if it is an ExecutionGroup.
Replaces the selected Instances.
Events1
Fires when the selected Instances change.
Methods
Get
Selection:Get(string, string): string?Returns the currently selected Instances.
GetExecutionGroup
Selection:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Set
Selection:Set(selection: { Instance }): ()Replaces the selected Instances.
Events
SelectionChanged
Selection.SelectionChanged: RBXScriptSignalFires when the selected Instances change.
Inherited members
Inherited47
Instance47
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying