How to mask a particle effect (only show particles in flashlight beam)?

Hello
I am very new to masks and I have a flashlight where I added a cone to the flashlight beam. I want the cone to have some sort of material or any other method that makes my dust particles only appear within the beam with a opacity falloff to make it smooth. How would I begin to do this?


Hey there @ADHDeveloper! So there’s not really a “simple” way to go about this. The half measure would be to use lit particles in a dark environment. They will always be brighter and more visible in light naturally due to their lit nature.

However if you want more control, like only being visible in your flashlight cone, you may need to get into Niagara Scratch Pad and HLSL. This allows much more fine grain control, however it’s also quite complex.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.