How do I call the runEffect() function programmatically?

How do I call the runEffect() function programmatically?

Hi!

Regarding the Hide demo, is it possible to run the runEffect() function programmatically?
So I wouldn't have to create an extra button like in the demo, but simply call runEffect() ?
Just calling the runEffect() function doesn't work.

Any hint on this one?

Thanks a lot!