Can we aply any "if" logic to a move action?

I’m doing this “move to side” animation (bellow the slider): and I need to do different things on columns click depending on if the section is opened or closed. I was using 2nd click for that but is not working well (I have to click twice when is opened to close it). Is there any way to do that or shall I develop the whole thing at custom javascript.

Many thanks,
Miguel Gisbert

Here is my public share link: [[LINK]1]
(how to access public share link)

Custom JS is your way, webflow cannot do conditional interactions

It would be an important feature to add then. Any other way to do a section that expands to one side on a click event and collapse on other parts click event?


Js is made exactly for that