How to make interactions trigger animations for certain elements only

Hello, everyone!

I wondered how to make interactions affect only one element but be triggered by another. To be more clear, I attached a screenshot, so you can get what I mean.

What I want to do here is to make the little arrow icon rotate upwards whenever the drop-down list is active, and turn to its original state when the drop-down is inactive.


Here is my public share link: Webflow - Bark Marine Agency

I’m not 100% if this is what your are looking for but I’ll put it here.

You can add interaction on dropdown to happen on when it opens and closes.
Just create a new interaction for Menu Opens and select the icon, add transform > rotate
For Menu Closes reste rotation to 0

I hope this helps.