how to select line with polygon?

“select points with polygon” function will select all the points inside the drawn polygon, however, I just need the points in the polygon edge, how can I achieve that?