How to animate vfx with moon animator

I am looking to find out how to create an animation using vfx in moon animator, and then be able to play that animation ingame.