I’m creating a grid of multiple instances of a single component that can be clicked to toggle their appearance. The state of these should ideally carry over into other screens in a prototype.
As shown in the screenshot below, I want to set it up so that only the one instance is changed upon click. I have a Boolean variable “Selected” applied to each instance, and my prototype is set that “Upon Click”, the boolean will be toggled.
However, what actually happens is because all instances have the same Boolean applied, clicking one ends up toggling all of them.
How should I set up and apply variables and prototype settings to these instances to get my desired outcome?