Drag and drop resetted but I have some problem.

Mar 10, 2022

I have a drag and drop interaction and I add animation path 0 xy position each drag box. once i droped all boxes incorrect or correct then click submit button its going to tryagain slide layer. I write the trigger in tryagain slide layer, when timeline starts 0.1 second move path animation same place in drag box and its resetted, its working fine but again i dropover the dropbox some drag box is automatically going to set like 1st attempt. Please help me out of this and i atteched sl file.

Pinned Reply
Luciana Piazza

Hello Nagendiran! ✨

I'm happy to share that we have released a new update for Storyline 360 (Build 3.76.30446.0).

In this update, we have implemented a fix for:

  • Drag-and-drop interactions behaved erratically after multiple attempts.

As a first stepI recommend updating Storyline 360 to the latest version. Here's how:

Update Authoring Apps

If you have any questions, please let us know in this thread or privately in a support case.

Have a great day! 

9 Replies
Maria Costa-Stienstra

Hi, Nagendiran.

Thank you for sharing your .story file!

If you take a look at your Slide Properties (right-click the base layer and select Properties), you'll see the When Revisiting option is set to Reset to initial state, which is why it always acts as the first attempt:

Windows 10 (1) 2022-03-10 at 9.15.44 AM

Changing that option to Resume saved state should fix the issue.

Let me know if that works!

Maria Costa-Stienstra

Hi, Nagendiran.

Thank you for sharing the screen recording!

What you're encountering now is a possible bug we've logged where drag items in drag and drop interaction act erratically in succeeding attempts if the drag items have motion path. 

This bug doesn't happen when using the options Free or Snap to Center under Drop Target Options:

Windows 10 (1) 2022-03-14 at 9.22.51 AM

Windows 10 (1) 2022-03-14 at 9.17.49 AM

Take a look at the screen recording below:

Screen Recording 2022-03-14 at 09.19.50 AM

I hope this helps!

nagendiran madesan

This is Great Maria thanks for sharing and one more doubt in this drag and drop could you please clarify this .Once all drag is droped, the submit button is enabled state and  I overlap 2nd drag into 1st drop the 1 drag is jump into earlier place. Once the activity is completed I need submit button is disabled state please help me out of this.

Maria Costa-Stienstra

Hi, Nagendiran.

If I understand your question correctly, you want the submit button to start disabled and be enabled once all the objects have been dropped (in any location).

The triggers you initially set that turned the variables True would work in this case. The only adjustment I'd make is to use "when the user drops the object" instead of "when the object intersects":

Windows 10 (1) 2022-03-18 at 10.36.12 AM

I'm attaching the edited version. Let me know if this works!

nagendiran madesan

Hi Maria, Thanks for your support. If what I said once all the objects have been dropped (in any location) the submit button enabled. thats ok. but my question was even client needed the submit button once enabled .(Example, I 2nd drag  into 1st droped the 1st drag is droped out in earlier position, so that time I would like to change the submit button disabled state. I attached the video, The video at end time I want to change the submit button disabled state. I hope my question is correct.

Maria Costa-Stienstra

Hi, Nagendiran.

I'm sure there are different ways to achieve what you're looking for, so hopefully, other community members will chime in, but here's my workaround:

  • Create a rectangle covering the entire slide.
  • Move the rectangle to the bottom of the timeline so it's behind the other objects.
  • Add a trigger to change the object's variable to False if the user drops the object on that rectangle.
  • Add a trigger to change the Submit button to Disabled if that variable changes with the condition that it's false.

Windows 10 (1) 2022-03-23 at 11.35.58 AM

The caveat here is that since your drag and drop is set to Snap to Center, removing an object from a target will place it on the center of the rectangle:

Screen Recording 2022-03-23 at 11.37.09 AM

I'm attaching the edited file with the changes to D1. You'll also need to apply the same to the other three objects/variables.

I hope this helps!

Luciana Piazza

Hello Nagendiran! ✨

I'm happy to share that we have released a new update for Storyline 360 (Build 3.76.30446.0).

In this update, we have implemented a fix for:

  • Drag-and-drop interactions behaved erratically after multiple attempts.

As a first stepI recommend updating Storyline 360 to the latest version. Here's how:

Update Authoring Apps

If you have any questions, please let us know in this thread or privately in a support case.

Have a great day!