Check which choice is being highlighted?

Hello ^^ Does anyone know how to detect which choice is being highlighted? I'm working on the title screen and what I want to do is once you choose New Game, a list of difficulty modes is shown. There's a window underneath (basically a window made with Orange HUD) which I hope, updates the description of the mode (features, target players and stuff) which is being highlighted. I want to pass this info onto a variable which updates the contents of the HUD. So I just need to find a way to detect which choice is being highlighted.
Any help is appreciated ^^ Thank you.
Is it an actual Show Choices command that you're calling from an event? If so, try
SceneManager.scene._messageWindow._choiceWindow.index()

though there might be a better way
Thank you Shaz ^^
Hey @Shaz Similar question again but this time for items. Thought it'd be better to ask here than make a new thread. In the item window, how do I detect which item is highlighted? And possibly get the item id of it. Thanks!
SceneManager._scene._itemWindow.index()

If you want the item itself, use item() instead of index().

Original thread: https://forums.rpgmakerweb.com/threads/check-which-choice-is-being-highlighted.137169/