Trying to get objects to select and unselect themselves

Feb 24, 2022

I have made a mock up of my workday calendar and I would like users to go in and choose a day to book off. I currently have it set up as when they select the day it highlights. If I wanted to change the day chosen I cant change another rectangle to selected. I'm not sure If I'm inputting the triggers in incorrectly. Please help

2 Replies
Maria Costa-Stienstra

Hi, Katherine.

Thank you for sharing the screen recording!

It looks like you're manually creating triggers for the built-in states (selected, hover, etc.). When using Built-in states, there's no need to create a trigger to change the object into that state. The logic is all done by Storyline for you.

If you only allow one date to be selected at a time, you can also create a button set for all your rectangles:

Screen Recording 2022-02-24 at 04.50.49 PM

This is what it would look like in Preview:

Screen Recording 2022-02-24 at 04.51.16 PM

I hope this helps!