Hello @FurryNightShade!
Here’s a resource that could possibly help you out. It covers different cases of collision detection, and your particular case of Line/Circle collision detection can be found here.
If you’re still facing issues, feel free to post your code here.