Forum Discussion

DaveCox's avatar
DaveCox
Community Member
5 years ago

Drag and Drop conditional triggers are not working correctly

Drag and drop conditions Drop Correct and Drop Incorrect do not ever trigger when these conditions are added even when the condition is met.

 

8 Replies

  • Hi, Dave.

    Thank you for sharing the screenshot! Without seeing your .story file, the first thing I'd check would be the Drag and Drop options. Do you have Delay item drop states until interaction is submitted checked or unchecked? If it's checked, then the states won't work until the user submits their responses.

    Windows 10 (1) 2021-07-29 at 9.29.39 AM

    Another thought is that if your goal for that trigger is to adjust the variable when the object is correctly dropped, you can also try this:

    Adjust variable > Set DD_Result to value 2 when the state of Drag object 2 = Drop correct

    Let me know if this works, or I'm happy to take a look at your .story file to see what's going on. 

  • DaveCox's avatar
    DaveCox
    Community Member

    Hi Maria,

    You are correct, that option was checked. Unchecking that did fix the issue.

    Thank you for your quick feedback.

    Dave

  • Ammarlalika's avatar
    Ammarlalika
    Community Member

    my trigger are not working as  i ave multiple option of drop i put the codition 

    show layer correct when use click on check button

    if rectangle 1 = drop correct up to 8

    but  i have 16 options ff drops

  • Ammarlalika's avatar
    Ammarlalika
    Community Member

    my trigger are not working as  i ave multiple option of drop i put the codition 

    show layer correct when use click on check button

    if rectangle 1 = drop correct up to 8

    but  i have 16 options ff drops

  • Are you changing the state of the drag object, or the drop target? It would be easier to help if you will attach the .story file here.