Forum Discussion

PatriceLynn-0c5's avatar
PatriceLynn-0c5
Community Member
4 years ago

How to set triggers/functionality for 2 DRAG situations

1. How to drag character (object) and thought bubble (layer) together to new location? 

2. I programmed character to be dragged and dropped onto the office image. How do I set a trigger to get the character to snap back/return to original location when the button "Try Again" is clicked? (Note: I put a hot spot in original location, but not sure that is helpful?)

  • 1. Make the thought bubble part of a state on the character

    2. Give the character a motion path of 0 length, and move the character on the path when you want it to return. Be sure the path does not have a relative start.

    • PatriceLynn-0c5's avatar
      PatriceLynn-0c5
      Community Member

      Walt, thank you so much for your help! I got#2 handled, but can't figure out how to add the bubble to the character state? 

       

    • PatriceLynn-0c5's avatar
      PatriceLynn-0c5
      Community Member

      Walt,
      You are so kind to help me! I had actually figured it out, BUT I recreated each bubble when I could have drug onto the character space like you did!
      Thank you!!!

      Patrice Lynn
      Leadership Academy Facilitator
      Workforce Development Division
      [CalHR