How to ensure a boolean component retains that value in another frame?

Hey everyone! Figma noob here so bear with me & my clunky terminology!

I have a like component which has 2 states - liked and default. In the prototype you can like one or many pictures in a gallery, but if I go to a specific picture that the user has liked, is there a way of making sure the picture remains liked?

Thank you for your time :smiley:

@Nastassia1 One trick in Prototyping to make Figma remember your state is to put your screens in different Sections. When you navigate away from the screen in a Section, and go to a different section, going back Figma should remember where you were.

Try it out.

Thatโ€™s great! I will try it out, thank you for your help!