Jump to content
Search Community

JohnH

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by JohnH

  1. Hi there,

     

    new to the forum, so first of all thanks for having me! I'm also new to gsap as well.

     

    The question I have is; Whenever I use 'Draggable' and I want to animate the object or element that is being dragged, I want to have it animate onmousedown so that as soon as the object is touched it expands. How can I do this as I've always had my animations run when the object is moved instead of animating before being moved. Is there a clever way gsap can do this or do I need to add a mousedown function?

     

    Thanks in advance,

    John

    See the Pen WXNXzv by anon (@anon) on CodePen

×
×
  • Create New...