Custom foliage and wind questions

I am looking to create my own foliage but wondering about the wind effect once painted onto my landscape.

  1. Does the wind animation happen in the engine itself or is it an animation I have to bake in my custom foliage?

  2. If its in the engine, if I set it for all my foliage, will the wind animation happen at the same time, same direction for all my related foliage OR is it something I have to set up in UE5?