Looking for a 2D ranged attack tutorial

Hello! I am making a roguelite with the Paper2D framework. Today I started working on combat and I am stuck wondering how should I approach ranged combat. I’m currently thinking about making bullets/lasers/whatever their own separate actors which would be spawned on click but there are also a few problems that arise from this for me. So I am looking for a tutorial that tries to implement ranged combat. It doesn’t matter whether it’s C++ or BP. Thanks in advance!