Interactors change the value of a parameter or condition
following mouse events on symbol objects. Use the change in parameter
value to coordinate state changes for multiple symbol objects. For
example, you can create a button whose background color and text change
when the button is clicked, or a button with multiple rotating images.
Creating a push interactor for multiple objects
Push interactors in the Symbol Editor are used to
fulfill a state in a condition. Once the condition has been fulfilled,
the object to which the condition is bound changes representation.
When a Push interactor is added to a symbol, the condition can be
reused by other objects to coordinate symbol transformations.
Right-click the Text object in the Symbol Outline pane.
Select New Condition in the pop-up menu.
The New Condition dialog box opens.
Select [click=”BUTTON_DOWN”] in the Other conditions defined for this symbol pane.
Click OK.
The condition is selected under the Text object in the
Symbol Outline pane.
Select the Paint tab in the Styling Customizer.
Enable Stroke On.
When you run this symbol in Preview mode, the Text object
is outlined when the mouse is pressed on the Shape object.
Creating a rotation interactor for multiple objects
A rotation interactor changes the value of a parameter.
As the value of the parameter changes, the objects bound to it are
transformed. By binding more than one object to a rotation parameter,
you create synchronized movements in a symbol.