Skip to main content

Hello, I am working on a class project where I am prototyping a map for a small museum space. My goal is to have 4 buttons at the bottom of the display that when tapped, highlight different activities that correspond to each. Attached below is a screenshot of what I have so far (sorry for the lines across I have other interactions).

 

In short I need each button to:

  1. when pressed highlight each shape of the corresponding color
  2. when pressed again revert those shapes to their default settings
  3. allow other buttons to be pressed at the same time, since some activities will correspond to multiple things

Any help would be greatly appreciated!

 

This can be done by combining multiple components. Create a component for every category, and make a variant where they are highlighted. Check out this demo. You can open it in the editor and inspect.


Reply