Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Drag Source Sequence

Community Beginner ,
Dec 30, 2017 Dec 30, 2017

I am having multiple drag sources and one drag target, and I would like to set a correct sequence in which the drag sources are dropped into the target to make the correct answer, Is this possible?

255
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 30, 2017 Dec 30, 2017

Yes it is possible but it's not all that simple to achieve and you are somewhat limited in terms of how you let the user see that the order is not correct..

Basically, you need to set up Object Actions on the Target so that when any Drag Object is dropped on the target a Conditional Advanced Action is executed which checks whether or not this particular Drag Object is being placed on the Target in the correct order.

If the order IS correct, then no action would be taken.  However, if the order is incorrect, then a hidden feedback caption can be shown to tell the user this is not the correct order of placement.

However, at the moment these actions are generated, the Drag Object has already been placed on the Target. It would be nice if you had the option of causing the incorrectly placed Drag Object to be rejected by the Target, but that only possible if the Drag Object was NOT allowed to be placed on the Target, and in you case it's only the ORDER of placement that is incorrect.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 31, 2017 Dec 31, 2017

Rod offers you already a lot of details. Do you want more than one attempt? Is this a scored D&D or not? You need the object actions if you want to show a feedback after having dragged one drag source. Another approach could be to use the InBuilt states that are available for both drag sources and drop targets. Are you aware of them?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 01, 2018 Jan 01, 2018

Yes I would like more than one attempt, and it does not need to be scored. How would the InBuilt states be utilized for this function?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 02, 2018 Jan 02, 2018
LATEST

I did some testing with InBuilt states for a sequence D&D and they are not very helpful for that scenario. You'll have to use the Object Actions approach.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources