Illustrator

Add SVG interactivity to artwork

  1. In the SVG Interactivity panel, select an event. (See SVG events.)
  2. Enter the corresponding JavaScript, and press Enter.