Changing State to Hidden for Drag Object with State Correct Variable

Apr 07, 2022

Hi,


I was just playing around with customized feedback layers. 

I want the variable to increase by one when the object is dropped correctly.

I also want the object to disappear when dropped in either of the available targets to disable any repeat drops.

The hidden trigger works when the object is dropped until I add the 'Add value to variable' trigger. For some reason, it stops working after this.

I've attached the file so you can have a look.

What am I doing incorrectly?

1 Reply
David Anderson

Do you want the each object to disappear when dropped on the correct target? Or should objects be hidden after dropping them on either correct or incorrect targets?

Storyline fires the triggers from top to bottom.  I think I'd change the first drag object target to

Add value 1 to Next slide

WHEN the user drops Donut on Dessert

For example, the Dessert object is set to hide when dropped on either Meal or Dessert. But your last trigger tells the object to change to Drop Correct when the Dessert is dropped on Desserts.