How to make spawned emitter deactivate on button release

Hello,
I’m quite new to UE4 and I don’t know how to make something work as I want it to be. Right now I’m creating a VFX of snow storm, where character is casting a spell on button pressed and hold, while on release a snow flakes are falling from the sky. Yet I have one problem, as this spell which character is casting, is still appearing after button is released and I don’t know how to make it dissapear. My blueprint looks really basic, how can I make it fade away when button is released?
Thank you in advance!

From the Spawn Emitter Attached there is a “return value”, from there drag off and there should be a option called “promote to variable”. Once you did that it should call “Set YOURVARIABLENAME”, if that doesn’t appear just right click and type “Set YOURBARIABLENAME”.

Then on released of the left mouse button you can get the variable you just created by promoting it and call “deactivate”.

I have did everything as you have listed here, but emitter is still playing. Is it option that maybe it’s just my particle system wrong programed? I mean like, maybe the emitter still playing after release of button, because it’s just one simple emitter? The particles that are showing on button pressed are one animation, they’re not looping and they fade as soon as they just stop playing. Maybe that’s the problem why I can’t delete them on demand on button release? Maybe there is nothing to delete as particle emitter stoped from spawning as soon, as it showed up on button pressed?