Skip to main content
Known Participant
June 27, 2013
Answered

Expressions and sliders

  • June 27, 2013
  • 1 reply
  • 1563 views

Hi all

Having trouble trying to stop my wiggle expression so I thought I would use a slider to control it.

The wiggle is applied to position but I haven't actually given it any key frames.

Basically my problem is that when ever I use the pick whip with the slider it stops the wiggle but totally changes the position.

My aim is to have the wiggle for a given amount of time, and then key frame it to go from full amount of wiggle to none.

Would be great to know how to actually use sliders properly as when I do it they seem to fully cancel the expression and I can't actually get it to work how I want - I can't seem to find any tutorials that show the method for something like position, however I can for cameras an nulls.

Any help would be greatly appreciated!

Thanks

This topic has been closed for replies.
Correct answer Dan Ebberts

So you had a wiggle expression and pickwhipped the slider, which replaced the wiggle with the expression you posted, is that correct?

I'm guessing you want something like this:

amp = effect("Slider Control")("Slider");

wiggle(1,amp)

Dan

1 reply

Dan Ebberts
Community Expert
Community Expert
June 27, 2013

This works better if you post the expression that isn't behaving the way you want it to.

Dan

lornaimwAuthor
Known Participant
June 28, 2013

Apologies, I'm not very used to forums!

This is what happens to my wiggle when I parent the slider.

temp = effect("Slider Control")("Slider");

[temp, temp]

When I've tried this the slider has been at zero, but my position on the layer has been at a certain value. When I parent the slider, my layers position is changed to zero so I can reset it to where I want it to be, but it seems to have no effect on any wiggle.

Thanks for your help!

Dan Ebberts
Community Expert
Dan EbbertsCommunity ExpertCorrect answer
Community Expert
June 28, 2013

So you had a wiggle expression and pickwhipped the slider, which replaced the wiggle with the expression you posted, is that correct?

I'm guessing you want something like this:

amp = effect("Slider Control")("Slider");

wiggle(1,amp)

Dan