Image border staying applied after click

i created a custom style for a clickable image, i went to edit style and put “when this image is pressed” and i applied a border to solid, the border keeps disappearing after clicking meaning it appears while pressed only, i guess it makes sense for “when this image is pressed” but i dont see any other options like click or anything to keep the style change after the click

If It’s a single object, you can create a custom state called “selected?” with a yes/no value. Then set to toggle when the image is clicked. See the pictures below to see how you do this.

It’s a bit of a mind boggle but if you set a custom states value to: itself is “no”
then you have created a toggle.

image

If it’s a repeating group, set the custom state value to the current cells “things”'s unique ID.