[FYI] Mouse focus on multiple widgets issue solved

I’ve been trying to make a menu system where each option is a new widget. The problem I had was when I switched I had to click to “select the widget” even though the first widget was hidden. I wanted to just plain click the option in the new widget.

The solution I came up with is hide the mouse in widget 1.
Hide widget 1
Show widget 2
delay by 0.05 seconds
Show mouse.

I have no idea why adding a delay works, but it does. So I’m sticking with it for now.

I know there was at least one other person had this issue, but I can’t find the post.