How to know where the focus is?

how to know where the focus is?

Please learn how to ask a question.

Do you wish to get currently focused view?

See also :

I need to know which component the focus is on