SelectionChanged

Important: Athens (2025.1) introduced fundamental changes to Sketch. API documentation may not be up to date.

Triggered whenever the user changes which layers are selected in a document

Action Context

The action context for this action contains three keys:

  • document: the document that the change occurred in.
  • oldSelection: a list of the previously selected layers.
  • newSelection: a list of the newly selected layers.
Last update: 2025-06-06 08:16:31 +0000