FORUMS: list search recent posts

Animate dragging out box shape with a mouse pointer icon

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Max Allen
Animate dragging out box shape with a mouse pointer icon
on Nov 1, 2018 at 3:35:43 pm

Wondering if anyone can help out; I want to have a mouse arrow dragging a box outline out – just as if you were drawing a text box in InDesign. I'm sure it's something to do with parenting the box shape to the arrow's position, but whenever I try that it just expands from the middle rather than top-left and I'm not sure how to constrain it. The GIF below should show what I'm trying to achieve - the box is shown in its 'finished' state, but the arrow should be able to drag it out from the top-left.



Return to posts index

Greg Gesch
Re: Animate dragging out box shape with a mouse pointer icon
on Nov 1, 2018 at 10:52:19 pm

Hi Max, if you want it to scale from the top left select the Pan Behind tool (Shortcut Y) and drag the anchor point to the top left corner.


Return to posts index

Andrijana Lu
Re: Animate dragging out box shape with a mouse pointer icon
on Nov 2, 2018 at 1:27:14 pm

What Greg said - drag the anchor point of the box to the top left corner. Parent mouse pointer to the shape layer. To maintain scale of the mouse pointer while parented, add the following expression to the mouse pointer scale:
s=[];
ps=parent.transform.scale.value;
for(i=0;i s[i]=value[i]*100/ps[i]
}
s

Here is the video about the expression:





I hope this was helpful.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]