How can particles spawn when a mesh moves in VFXGraph

I want when I move a model, particles will be spawned from it. When the model is stopped, the particles will disappear. So what to do?