How can I determine which button is focused?

Are there any ways?

Thanks a lot