Skip to main content
Participant
April 8, 2023
Answered

How would I wiggle only on the y-axis when using wiggle with the slider expression control?

  • April 8, 2023
  • 2 replies
  • 3756 views

How would I use the wiggle expression only on the y-axis?

I'm using two sliders. The first for the frequency and the second for the amplitude.

Here's my expression so far. This works but wiggles on both the x and y axis. I just want the y only. How would I ammend the expression below?

 

wiggle(effect("Slider Control")("Slider"),effect("Slider Control 2")("Slider"))

 

thanks.

This topic has been closed for replies.
Correct answer Warren Heaton10841144


This should do it:

  • [value[0], wiggle(effect("Slider Control 1")("Slider"),effect("Slider Control 2")("Slider"))[1]]

 

I started with the following:

  • [value[0], wiggle(0,0)[1]]

 

Then used the pickwhip to connect the corresponding Slider paremeters of the Slider Control 1 and Clider Control 2  effects.

 

 

 

2 replies

Warren Heaton10841144Community ExpertCorrect answer
Community Expert
April 8, 2023


This should do it:

  • [value[0], wiggle(effect("Slider Control 1")("Slider"),effect("Slider Control 2")("Slider"))[1]]

 

I started with the following:

  • [value[0], wiggle(0,0)[1]]

 

Then used the pickwhip to connect the corresponding Slider paremeters of the Slider Control 1 and Clider Control 2  effects.

 

 

 

Participant
April 8, 2023


update:

the following seems to work for the y axis movement only:

[position[0],wiggle(effect("Slider Control")("Slider"),effect("Slider Control 2")("Slider"))[1]]


any advice is still appreciated