How to rotate projectile to the location of the mouse

Here’s a legacy post, seems like it should still work though: