Change the button state by clicking on a different component

Hey everyone. I have an advanced prototyping question.

I have this list of 7 items, and I want the user to have to tap on at least one of these items before the “Continue” button at the bottom changes to the enabled state. Does anyone know how to do that?

I also want the “Continue” button to change back to “disabled” if the user deselects all options, meaning they have to have at least one item selected to continue.

I hope this makes sense, I posted two screenshots for more clarity of my button states