Adding Interactivity with Custom States

Custom States allow you to create interactivity with objects on the screen. The sates are triggered using any action trigger.

Watch video:

Let’s look at how to operate with custom states using the example of a chart element.


  1. Select the parent element.
  2. Go to the Actions tab and click on the ‘Custom States’ section to create a new state.

  1. Without exiting the State editing mode, select the element you would like to adjust.
  2. Make the appropriate changes to the desired widget. For example, here we made the following changes:
    1. Reduced the height of the ‘Main’ bar element to create a contraction animation.
    2. Revealed the text element by setting its opacity from 0% to 100%.

  1. Now make all the desired adjustments to other elements if needed.

Please note: You can make changes only to the elements that are contained inside the element to which you applied a state. Otherwise, you will exit the state editing mode. However, you can always return to state editing by selecting it from the Custom States list.

  1. Let's rename the states for easier operation. Double click on the state name and input a new name.

Next, create the second state using the other chart values.

  1. Select the parent element.
  2. Go to the Actions tab and hover over the state you previously created. Locate the ‘Duplicatebutton and click it.
  3. Make the appropriate adjustments to your element.

Please note: State duplication can save you time if you have to adjust the same layers and attributes in different states. Otherwise, you can simply create a new state and make the appropriate adjustments.


How to adjust the animation properties?

  1. Select the widget you have applied Custom State to.
  2. Go to the Actions tab.
  3. Go to the 'Custom State' section, then hover over the layer you'd like to adjust the animation for. Click on the gear icon.

  1. If you change more than 1 widget’s property, you’ll see a menu where you will be suggested to adjust the animation for all attributes together or for each attribute individually.
    1. Select the 'All' option to adjust all available attributes together.
    2. Select the desired option to adjust it individually.

  1. Here you can adjust the following attributes: animation duration, delay, and easing.


How to trigger Custom States?

  1. Select the element or widget that should trigger the state.
  2. Go to the Actions tab.
  3. Select the desired trigger from the Quick Choice menu or click on the 'More' option to see all triggers.

  1. Select the parent element as the Target for the action.


  1. Open the Action section, locate the ‘Generalsection, and click on it.
  2. Next, select the ‘Trigger State’ action from the list.
    1. Choose the ‘Set State’ option for the Event.
    2. Select the appropriate state for the ‘State’.
  3. Now repeat the same process for the other buttons and states.


Finally, let’s look at how to create the ‘Reset’ button using the ‘Unset State’ option.

  1. Create your button and select it.
  2. Go to the Actions tab and select the ‘Click’ option as a trigger.

  1. Select the parent element as the Target for the action.


  1. Expand the ‘Trigger State’ section.
    1. Choose the ‘Unset State’ option for the Event.
    2. Select the state you want to reset in the ‘State’ field.

Please note: you can also use the 'Clear State' option. Unlike the 'Unset State' option, which resets only the state per action, the 'Clear State' option removes all states.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us