Random Vector Value over time in Material?

Hey all. So I’m trying to figure out how to randomly adjust the wind speed of a simple grass wind node.
Essentially I’ve got the material set up and I have a constant vector of 0.5 being fed into the wind speed, but I want this value to change over time to a random value that is clamped to anywhere between 0.1 and 0.5

So I set up the following based on another answer by Zak Parish:

This gives me the random value that I want fluxing between 0.1 and 0.5 but the problem here is that I don’t want to constantly pass this into the wind speed, otherwise it makes it look like its flickering. I want to grab a value from here about every 20 seconds and then plug that into the wind speed but I have no idea if that’s possible, especially completely inside a material.

So the problem is that this is for my grass mesh that’s automatically placed in the world so I have no way of referencing it in blueprint.

Cant you use a Collection Parameter instead and set it to a clamped random value by using a timer in the level BP?

You dont need to reference the mesh or the material with collection parameters. Collection parameters are global so you can call and set the value anywhere anytime.

Oh interesting. I’ll try this out thank you.