World based UV coordinates for texture

I’ve needed a solution to this on several different occasions. Right now I’m building a laser sight that is a 1 pixel sprite that scales based on the distance from the weapon to the wall. I want to add a smokey opacity effect to the sprite, but as it scales the smokey texture scales too. How can I set the textures UVs to a world coordinate that isn’t affected by the sprites scale or the camera distance or focal distance? Thanks for any help in advance!

Here’s where I’m currently at with it without any smokey opacity:

Have you tried it with the sprite attached to a billboard?:

Also, maybe separate the smoke from the ray.

This YouTube Video solved my problem. I learned how the “World Position” node works and that did exactly what I wanted.

Thanks for the help. I found the exact solution I needed and posted it here.