How to know what triggered On Focus Lost?

I’m trying to set focus to my inventory ui widget for gamepad users.

I’ve used Set colour on the focused element to determine that the focus is received but then immediately lost.

In the event On Focus Lost, which is currently changing the color as well, is there a way to determine what triggered this event/ the loss of focus?