ArtboardChanged
Important: Athens (2025.1) introduced fundamental changes to Sketch. API documentation may not be up to date.
This action is triggered when the current Artboard changes.
This can happen in a number of situations:
- when an Artboard is added to the document
- when an Artboard is selected
- when an Artboard is removed
Action Context
The action context for this action contains three keys:
document
: The document where the action was triggeredoldArtboard
: The previously active ArtboardnewArtboard
: The newly selected Artboard (this can benull
if the action was triggered by removing an Artboard, for example)
Last update: 2025-06-12 15:49:33 +0000