Open Asterune
Selection

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
Events1

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: RBXScriptSignal

Fires when the selected Instances change.

Inherited members

Inherited47

Instance