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

Adobe AE wiggle expression with slider makes my footage go to the top left of my screen.

Community Beginner ,
Dec 19, 2020 Dec 19, 2020

When I pick whip the wiggle expression to a slider it sends my footage to the top left of the screen. I have no idea what to do.ae-sucks-1.pngae-sux-2.pngae-sux-3.png

TOPICS
Error or problem , Expressions
275
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
Explorer ,
Dec 19, 2020 Dec 19, 2020

When you pick whip like that you are moving the wiggle expression. Using the last screen shot as the basis your expression needs to be.

temp = effect("Slider Control")("Slider");
wiggle(11, temp);

 You can only animate the amplitude without some more code explained here https://www.motionscript.com/articles/speed-control.html#wiggle

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 ,
Dec 19, 2020 Dec 19, 2020
LATEST

In your screenshot, you're using the property pickwhip, not the expression pickwhip. See how it replaced all the code you wrote? The Position proporty requires two parts, X and Y. They're represented in the code as [x,y], but those two variables can be replaced by whatever you feed to it. 

If you look at the code in your last image, you're feeding [slider value, slider value], which in this case means [0,0].

If you're looking to replace the amplitude of the wiggle with the slider value, make sure to use the expression pickwhip, while having your cursor in the correct spot in the expression editor. 
Screenshot 2020-12-19 114243.jpg

If I'm understanding your question correctly, your final code should look like:
wiggle(11, effect("Slider Control")("Slider"))

I'd highly recommend learning the basics of expressions so you have a better idea of what you're trying to do. This series is an excellent place to start: https://www.youtube.com/watch?v=SFgWa5G0VAE&list=PLvr5U5ZSt6IzHyvSL9fo0M9NRPsTvra31

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