Spawning particle fx from UMG button?

Check out the “Drag & Drop” section. There is a tutorial that explains how to move a health bar on the screen with the mouse, that should give you some idea about coordinate translations with regard to viewport. it is quite complex.

The other thing you may want to look into is raycast in order to hit an object with the mouse. I wager that might contain some Blueprint nodes you can use to determine the 3D world position from the mouse position.

Once you have a 3D position that is virtually behind your button, you should be able to start some particles from there.

I don’t think that you can start particles “in the 2D realm of UMG”. They are a 3D element and are part of the 3D world. You will run into problems if the camera moves while particles are flying.

Hallo!

So far, I am trying to get the screen location of a UMG button and then have a particle spawn in the same location, preferably behind the button!

I am rather stuck trying to figure out how to get the world space location to spawn the particle vfx behind the UMG button. How do I bring both worlds together?

I am unsure of which nodes to use to achieve this, but as you can see in the image below, this is as far as I have (embarrassingly) gotten:

Any guidance would be greatly appreciated! Thank you in advance!

Thank you very much! I will try those things now!

Oh boy, oh boy!