How to combine "while hovering" and "on click"?

I want to have a hover effect to be the same as on click. Do I need to make for each interaction a separate variant? Because when I try to add both interactions to the same variant Figma says one of them won’t be triggered.