Hi@li_fme,thanks for your question!
ThePointOnLineOverlayermight be your solution.It can check for points that are not directly on the line,so you may need to set a spatial tolerance to have it work for your specific situation (if you only want to use points that lieonthe line.
Hope this helps!
Nathan