Download

dynamic lifetime module based on keyboard hold

Hello !
Trying to make something like this : when player holds for example right button, I want to spawn particle system, and after some times when player releases right mouse button, make it slowly disappear ( not rough disappear) After fade I want to destroy that component
I tried to call lifetime in blueprint and when player releases button set it immediately to 0, but nothing is happening.
Will be glad you have other suggestions how to make it possible

You can just change the spawn rate from the BP.