Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Random expression not working?

  • Random expression not working?

  • Sandra Hiralal

    June 14, 2021 at 4:45 pm

    Hello everyone!
    `this might be a really silly question. I’ve been trying to get a letter to be in a random position every x time(without interpolation). I’ve tried to apply random(); to the position property but and error is prompted (Error: expression result must be of dimension 2 , not 1)<br>Can anyone help? How can I do that?<br>I’ve been looking for an answer all afternoon but I can’t find nothing(which makes me think it’s a really silly question!)<br><br>Thanks so much,<br><br><br></p>

  • Arne Münch

    June 14, 2021 at 4:48 pm

    Hi Sandra
    This should work:

    x = 2; // in Seconds

    seedRandom(Math.floor(x*time),true);

    [random(1920),random(1080)];

  • Sandra Hiralal

    June 14, 2021 at 4:50 pm

    Thank you sooooo much, it works!

Viewing 1 - 3 of 3 posts

Log in to reply.

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