Some of the pages are yet to go live. Meanwhile, I am copying the content from that page.
The Actions pop-up window has been redesigned to be more designer-friendly. The enhancedActions editor reduces the need to code, making it easier to add interactivity and more approachable for designers.
A. Step 1: Pick an action B. Step 2: Pick a target C. Step 3: Edit the code snippet
The new Actions editor visually guides you through the various steps in assigning actions to targets.
- Pick an Action - Actions are now logically grouped into categories. If you know the name of the action, you can search for the action using the search box. Else, pick a category to view the actions in it and click the required action.
- Pick a Target - Targets are grouped under Stage. Click Stage to view the target elements. When you click Stage, you may find a subcategory for Symbols if your composition contains symbols. Double-click the target element.
- Modify the code snippet as required.
If you find portions of code that are reused often, you can save them as snippets and insert them with a single click when required.
Save code snippets
In the Actions editor, click '+' adjacent to My Snippets, and then click one of the following options:
Create Custom
Click to enter your own code and save it as a snippet. When you click this options, a code window appears. Type your code, click Save, and then enter a name for the snippet.
Add New From Selection
Click to save the selected portion of the code as a snippet. Enter a name for the snippet in the Actions editor.
Insert code snippets
In the code window of the Actions editor, click at the location where you want to insert the code snippet. Click My Snippets, and then choose the required snippet from the list that appears. The saved snippet gets inserted at the insertion point in the code window.