Hello, I have a problem with the cursor not showing anywhere when the main menu widget is created after launching the game. I’ll attach an image of the logic.
On the player controller
Thanks
Hello, I have a problem with the cursor not showing anywhere when the main menu widget is created after launching the game. I’ll attach an image of the logic.
On the player controller
Thanks
Try pulling off the controller node not the cast. I had a similar issue this solved.
Gl
Can you show the hierarchy of the widget?
Do you refer to this?
Yes. Trying to wrap my mind around the setup.
So the widget is visible in-game but you cannot see the cursor. When you wiggle the mouse about, do the menu buttons light up when the mouse would enter them or is there no interaction whatsoever?
No, there isn’t any interaction wherever you move the mouse
What if you Set Show Mouse Cursor in the widget itself on Event Construct?
I experienced some issues with widgets due to the fact that they need some time to be created. Generally I used a short delay of about 0.2 - 0.5 seconds before doing anything with a widget, and it fixed a lot of stuff.
Do you see the mouse cursor when you do not create the widget?
That worked somehow, thank you!
The solution that worked for me was to put the ShowMouseCursor node on the Event Construct of the widget, like Tuerer said.
Saved me a lots of headache, thanks.