Hello,
I tried to simulate your scenario, and created a sample file.
Basically, I set a button (blue rectangle) which should play the box animation on click. Over it, there is a tap area component which should also go back to the fist keyframe where the box is closed.
I changed CSS visibility setting for the tap area between the first keyframe and the last keyframe. When the tap area is hidden, that tap area event is not triggered.
Please let me know if you can apply this to your scenario.
Thanks,
Mariko - Google Web Designer team