Change state based on drop target
Jan 19, 2016
Hi there, I am looking to have a scale on the slide, then have users drag and drop items onto the right side of the scale.. as they drop item by item the scale gets heavier and heavier on the one side and the image adjusts accordingly.
I have it working with states - so drop item 1 onto target, change state of scale to 1. Drop item 2 onto target, change state of scale to 2. That works fine, what I want is for the user to drop the items in random order and for the scale to get heavier and heavier following the order of the states, state 1 state 2 state 3.
In other words user can drop item 2, then 3 then 1 - the scale state changes from 1 to 2 to 3 respectively (regardless of the dropping order of the items)
Does this make sense? Is this possible? I've attached the .story file
2 Replies
Hello Mazz!
I've attached my solution. Here's what I did:
There is probably a simpler way to do this... but this didn't take long for me to set up and seems to get the job done. I hope this is what you were looking for :)
What an interesting fix, awesome, I would have never thought of something like that. It's great I will use it. Thanks a lot!
This discussion is closed. You can start a new discussion or contact Articulate Support.