Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Adding wiggle to pickwhip'd values

Enthusiast ,
Jun 05, 2009 Jun 05, 2009

This question sounds familiar, so excuse me if I've asked it before (I can't find it in any of my notes)

So I pickwhip one value to another But I want to add an expression (like wiggle) to that value.  How do I go about doing it?  Is it different for 1D values (like sliders) compared to matrix values like X,Y or X,Y,Z?

TOPICS
Expressions
2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2009 Jun 06, 2009

It could be as simple as just adding .wiggle() to your pickwhip-generated expression. Like this:

thisComp.layer("Blue Solid 1").transform.position.wiggle(3,50)

Dan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 14, 2021 May 14, 2021
LATEST

That's helpful, thanks! But to go even further, what if I want to wiggle the value of a calculated varable? This isn't a real example but just to explain what I mean, this doesn't work:

 

x=1920;
xWig = x.wiggle();
[xWig, 1080]

 

Apparently you can add ".wiggle()" to a property but not a variable. Is that right? Is there any way around that?

 

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines