Is there a way to spawn particles on top of a UI Widget?

Hello,

So I am trying to spawn some cascade effects over the top of a UI element.

First I am having trouble figuring out how to get the screen position of the UI element and then transforming that info to World Space to spawn the particle…Am I over thinking it? Is there a simpler way to do this?

Thanks,

Arty

Have a look here:

Niagara, not Cascade though.

Nice, That is pretty cool,
I am unfortunately stuck on 4.22 because I’m working on a 3D side-scroller that uses the old gaussian depth of field so any version beyond 4.22 I can’t use for this project - Unless this plugin works with the test version of Niagara haha

I’ll bookmark it just in case.

Thank you for the reply though - I really appreciate it :slight_smile:

You can certainly spawn particles in the world based on the viewport UI position (I have done this myself), but be aware that world space objects will always appear behind viewport widget elements (you can think of the viewport and everything in it as always being closer than things in the world, or even as them being “inside” your camera rather than in front of it).

So that plugin is probably the best way to go if you want to avoid having to write your own particle system in UMG (which is something else I have also done – it is not as featureful or performant as niagara or cascade but it works to put particles in the viewport space using UMG widgets as the particles.