Imo iff its not an fps, overlap works fine for this. You just need to add the items to an array and select the closest one per every button press or all if prolonged press (like in Sekiro).
Or… activate widget on overlap and use line trace as said above.