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

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-spawn-particles-on-top-of-a-ui-widget/484850>\
**Category:** UI\
**Tags:** screen-position, unreal-engine, UI, Widget, question\
**Created:** [June 13, 2021, 6:45pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-spawn-particles-on-top-of-a-ui-widget/484850 "2021-06-13T18:45:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e19b70ae1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e19b70ae1](https://forums.unrealengine.com/u/anonymous_user_e19b70ae1)\
**Post date:** [June 13, 2021, 6:45pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-spawn-particles-on-top-of-a-ui-widget/484850/1 "2021-06-13T18:45:22Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 14, 2021, 8:54am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-spawn-particles-on-top-of-a-ui-widget/484850/2 "2021-06-14T08:54:32Z")

</div>

Have a look here:

> [@Niagara UI Renderer | Free Plugin for UE4/UE5](https://forums.unrealengine.com/t/niagara-ui-renderer-free-plugin-for-ue4-ue5/211365):
>
> Hi! For a long time I have wanted to enhance my games with some UI particles, but I couldn’t find a good option. The only available options were render targets, a clunky and expensive choice, or some plugin from the Marketplace without Niagara support. While waiting for Epic to integrate UI particles to their engine, I thought that I could give it a shot myself. I ended up with something that works pretty well, so I want to share it with you guys. Feel free to use it however you want, and leave…

Niagara, not Cascade though.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e19b70ae1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e19b70ae1](https://forums.unrealengine.com/u/anonymous_user_e19b70ae1)\
**Post date:** [June 14, 2021, 7:03pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-spawn-particles-on-top-of-a-ui-widget/484850/3 "2021-06-14T19:03:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e19b70ae1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e19b70ae1](https://forums.unrealengine.com/u/anonymous_user_e19b70ae1)\
**Post date:** [June 14, 2021, 7:07pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-spawn-particles-on-top-of-a-ui-widget/484850/4 "2021-06-14T19:07:47Z")

</div>

Thank you for the reply though - I really appreciate it 🙂

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [June 14, 2021, 9:00pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-spawn-particles-on-top-of-a-ui-widget/484850/5 "2021-06-14T21:00:51Z")

</div>

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.
