k after the time put into this i realize that i cant use it in a platformer; if the line moves straight upwards at a 0 degree angle, then collision will not work. sad UNSHARED BY ACCIDENT SO I RESHARED
https://www.jeffreythompson.org/collision-detection/line-circle.php ^ everything found the website from @I8D s project