Clicking on component variant changes variant AND navigates to another artboard. Possible?

I have variants of a component set up, these variants are set to ‘change to’ on click, which swaps the instance. But I want to be able to navigate to another frame when clicking on these variants anywhere.

Screenshot/example video where it’s going wrong attached.

When clicking on the red box, I want the variant to change to blue rectangle. This is working. I also want the page I’m on to navigate to Page 2. This is where I’m stuck.

This would be very helpful for navigation with selected states.

Am I missing something?