Answered
You can use buttons instead with this script in each button as 'Mouse UP' action:
event.target.strokeColor = (color.equal(event.target.strokeColor, color.transparent)) ? color.black : color.transparent;
Here is your file with script and buttons added, I also add condition, so only one button can be 'selected' at a time:
https://drive.google.com/file/d/1jG9_-1vZHt-3TANQN4iwa4QrCzq0wzyg/view?usp=share_link
Sign up
Already have an account? Login
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inSign in to Adobe Community
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
