Pragmatically brush data on a plot

I’m wondering if there is a way for me to use a slider to get a certain number and then use that number to find all point on a plot that are <= that number and brush them or highlight them, just like they would be if I had used box_select. How can I do this pragmatically?

Thank you!