How can I detect which widget is more promising than the other?

I was trying to reference the widget closest to the other one, but I have no idea how to do it. Does anyone know? it’s in blueprint