Skip to main content
Known Participant
October 4, 2020
Question

Drag and Drop Interactions

  • October 4, 2020
  • 1 reply
  • 249 views

Hello

 

I am trying to make a drag and drop interaction so when the user places the correct drag source over the correct drag target it triggers an effect. I have created a correct state for the drag target with an effect but when I drop the correct drag source over the drag target it is not triggering the effect that I have applied to the correct state. I have three drag sources and targets on the slide and I would like the  effect to take effect as soon as the correct drop source is placed on the correct drop target. 

 

Thank you

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    October 4, 2020

    You need to use the Object Action in that case. You didn't tell exactly which Effect you want to have executed, but the command Apply Effect for that correct drag action will do the trick. Do not forget to deactivate the option 'Continue playing the project' to avoid releasing the playhead.

    To see the dialog box with Object actions, you need to select the Drop target. Under the fFormat tab in the Drag&Drop panel you will see the button Object actions.

    More info in:

    http://blog.lilybiri.com/drag-and-drop-actions

     

    Known Participant
    October 4, 2020

    Hello Lilybiri

    Thank you for your help. I'll see if I can work it out using object action. I'm applying entrance and motion path effects to the drop targets.

     

    Thanks again

    Lilybiri
    Legend
    October 4, 2020

    If you need a combination of two effects, you need a shared or advanced action for the Object action. I would recommend to create a custom Effect. Workflow is bit cumbersome, but described step-by-step in this blog post:

    http://blog.lilybiri.com/how-to-use-custom-effect-in-actions

    It is a bit tricky, especially with Entrance effects because the drag source will have moved. With a custom effect you can precisely design the motion path. Other effects without motion are easier.