Select a widget in a scrollbox

Hi there,

I was wondering if there’s a way to select a widget in a scrollbox when I click on it like in the pic below

.

Thanks.

I put a border around the widget and bound it to an OnMouseDown event.