Forum Discussion
MichaelRice-a6e
13 years agoCommunity Member
Using states to create select and deselect
How do I set my triggers to make an object appear selected when clicked once and normal when clicked again?
Cant seem to get it to work
JamieMorgan
13 years agoCommunity Member
I'm not sure if there is functionality in the triggers to accomplish that. I'll let others weigh in though.
As a work-around, you could use a slide layer that contains the same object with the "selected" state. When the user clicks the object on the base layer, simply show the selected layer (which is nothing more than the same object with some indication that it's selected). On that selected layer, have a trigger that hides the layer when the user clicks on the selected object. In essence, you'd be toggling the selected layer on and off to simulate the click once to turn on, click again to turn off effect.