This block will detect whether the point in space is toughing a line. This line can be any 2 points in space, connected by either a straight line or a diagonal line. It also takes into account the width of the line you are detecting.
All by me Feel free to use It uses a similar process to the "y = mx + b". At least, that's what I based it off of xD