Skip to content

CreatorSelections

CreatorSelections is an object that manages selections in the game instance. This class is only available in the creator.

Inherits: Instance

Methods

Select(instance: Instance) → nil

Select a instance

SelectChild(instance: Instance) → nil

Select all children of the instance

GetSelected() → { Instance }

Get all selected instances

Deselect(instance: Instance) → nil

Deselect the instance

SelectOnly(instance: Instance) → nil

Deselect all, then select the instance

DeselectAll() → nil

Deselect all instances

HasSelected(instance: Instance) → boolean

Check if instance has been selected

Events

  • Selected: Fires when an instance has been selected
  • Deselected: Fires when an instance has been deselected