Better understanding of WebUI.get

Good day.

I want to have a better understanding on the command WebUI.get… under [WebUI] Windows
I already checked the documentation page but there is no clear explanation or usage of it…it would be best if someone can give me an explanation/example on its usage. And is it possible to use it for “If” condition?

Can you tell me exactly which command?

WebUI.Getwindowindex…is it possible to use this as a condition statement for “if”?