how to click mouse and emit one particle

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By asm132443123124

I donot know when it emit a particle and how many particle in the scene so I have no idea when I should to stop emiting.If I use one_shot,it will never emit any particle again.

:bust_in_silhouette: Reply From: estebanmolca

Use $Particles2D.restart()

Some time ago I answered something similar: