Render particle trail where user swipes

I would like to have a trail that follows where the user swipes (using touch input), e.g., what Fruit Ninja has [example photo]

My first guess is to use a particle system to generate the trail effect, but I don’t know how to render something like this in the UI. I have never done any HUD work before, this uses UMG I think?