Paper2d shoot at mouse

I need help I’m very new to ue4 and making a topdown 2d game I have a sprite for the bullet but I do not know how to shoot the bullet from my player towards the mouse and stop after a bit of distance can someone send me a picture of what that would look like?