For the component, the on touch event is one for all items in the group. This is because each component is encapsulated in a group. If the user clicks on the group, all On Touch actions inside the group (all items in the component with set action On click) will activate.
To use On Touch animation in Component, please click on the component and navigate to the Properties -> Commands. Now click on the On Touch “…” button. You will be presented with the settings dialog:
Set visibility, fill, or stroke change for the selected element.
- TIP: If you want to modify multiple elements during the On Touch action, simply set the On Touch parameters for each of them.