Forum Replies Created

Page 1 of 3
  • Matt Volp

    December 21, 2022 at 9:45 pm in reply to: Using Emoji font in After Effects

    You can now use AfterEmoji to bring emojis to After Effects. Choose from over 3500 emojis from Twitter’s open-source Twemoji library and insert them directly into your project as fully editable, native After Effects shape layers. Get it here: https://aescripts.com/afteremoji/

  • Matt Volp

    December 8, 2020 at 12:41 am in reply to: Retreive data from button built with for loop

    If you’re after the button to return the button’s name, try this:

    button.onClick = function() {
    alert(this.name);
    }
  • Matt Volp

    November 26, 2020 at 12:32 pm in reply to: Filter path property from others for looping tool

    A quick and dirty workaround would be to iterate back through your selected properties after applying the initial loop expression and identify those which have their expression turned off and apply the path loop expression to just those.

  • Matt Volp

    November 19, 2020 at 9:19 pm in reply to: Complete newbie question

    Are you sure you meant to post inside the After Effects Expressions forum?

  • Matt Volp

    November 19, 2020 at 8:27 pm in reply to: shape element position

    I’m not sure on your use case, but say if you wanted to have a null object locked to the position of Rectangle 1 inside of Shape Layer 1, you could put this expression on the position of the null:

    toWorld(thisComp.layer("Shape Layer 1").content("Rectangle 1").transform.position)

    ‘toWorld()’ converts layer space to world/comp space.

  • Matt Volp

    November 19, 2020 at 8:23 pm in reply to: Complete newbie question

    No. You’d need to look into scripting for that sort of functionality!

  • Matt Volp

    November 19, 2020 at 11:45 am in reply to: Variables returning as Undefined – ExtendScript

    They are returning undefined because you haven’t defined them with

    var
  • You could use

    str.charAt(0)

    where the argument, in this case, ‘0’, is the character of the string you want to look at. So something like this:

    str = text.sourceText;

    firstLetter = str.charAt(0);

    if (firstLetter === "A") {

    [0,100]

    } else if (firstLetter === "B") {

    [0,200]

    }

    If you wanted to do it programmatically, perhaps something like this would work:

    str = text.sourceText;

    firstLetter = str.charAt(0);

    letters = ["A","B","C","D","E","F","G","H"];

    for (i = 0; i < letters.length; i++) {

    if (firstLetter === letters[i]) {

    y = (i+1) * 100;

    break;

    }

    }

    [0,y];

  • Matt Volp

    October 27, 2020 at 9:21 am in reply to: Change value when position reaches certain value

    Instead of using

    ==

    you’ll need to use

    >= or <=
  • Yeah, the issue here is that you also need to update the bezier handles as you make the circle bigger. You have two options.

    1. Redo your process with this script instead: https://lesterbanks.com/2017/10/create-nulls-paths-extended-features/ and make sure ‘handle controls’ is checked. Then you’ll also need to animate the scale of each of the 4 nulls too, to keep the circle shape.

    2. Don’t convert the circle to bezier path and use more complex maths to get what you want.

Page 1 of 3

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy