Making custom trees sway in the wind

Never mind dear UE4 users, I found a way. I used the simplegrasswind expression found in the material editor. I got it to target a vertex painted mesh so that only the leafs would sway in the wind. Here’s the material -