Menu Button Interaction

Hey everyone, pretty new to Figma and I can’t seem to figure this out. I’m trying to create a menu sidebar that slides over when I press my menu button. I have my button and sidebar in a component and I can get the sidebar to appear when I press the menu button using changeTo. The problem I’m having is that no matter how I arrange the sidebar in the component box, when I run my prototype, the sidebar appears right where the button is in my frame. Is there a way to set where the sidebar will appear using changeTo? Thanks!

Don’t use changeTo. Just use overlay.

So your button triggers an overlay which is set to top right, and closed upon clicking outside of it.

1 Like