How to make a linhatrace with start on the socket muzzle to the center of the screen

how can i make my linetrace go from the muzzle socket of my weapon mesh to perfect center of screen?
Or make a detection for the line does not achieve something behind the player

If the trace ends up dead center on the screen, then that’s what you’re looking right at. In other words, it’s a line trace from the camera. That’s why everybody does a line trace from the camera :slight_smile: