Click to open drop-down and click to close drop-down menu?

I’m trying to make an image/menu drop down from the top of the screen that the user can click to hide and then click again to hide and continue to do this if needs be.

I’ve managed to animate the translation of the blueprint, but making it function fully is my issue. I’ve made the first initial drop when the play button is pressed, then when the image/menu is clicked it reverses the animation to the “hidden” state but when I want to click the image again to make it appear again, I get stuck. I’ve tried using hovers but they didn’t work and I’d like to make it a click to open and click to hide function that’s infinite and won’t overlap itself. Any ideas?

As always, more info can be provided.

Thanks in advance.

SOLVED: Used a flip-flop node.