This is a quite basic particle widget. Copy it to your frame (keep the widget there, as it's flagged to not be created at start of frame). Whenever you want to spawn a particle, create a new particle object from the event editor and set it's control parameters and animation direction (for particle graphics).
You'll most likely want to add new animation directions to the object for more particle graphics, and the widget is easily expendable with more features.