Hi, Jason.
That's a great call! I reviewed the question, and here's an alternative:
- Only add the values to the variable answers when the user clicks Submit. That way, they can change their minds as many times as they want, but the value will only be set when the Submit button is clicked.
- We'll do that by adding a trigger that checks if the pictures are in the drop correct state.
- For example: Add value 1 to answers when the user clicks submit if the state of Picture 2 = Drop Correct.
- We'll add triggers to change the states to drop correct when they are dropped in the right target.
- For example: Change state of Picture 2 to drop correct when the user drops picture 2 on ff1.
I didn't notice the snap-to-center issue. It seems to be snapping regardless of how far from the center of the target I drop it. Let me know if you see something different than below:
I am attaching the edited version of the .story file if you want to test it out.