Hello everyone, I've just started making the UI for my game but I noticed something: When the player has to interract with buttons or stuff like that, he firstly has to click on the gui to grab the focus, how can I automate that?
If you need to enable the cursor to interact with the UI instantly you can use the :
UI.SetCanCursorInteractWithUI(bool)
command. Here is a link to the UI page of the Core documentation: https://docs.coregames.com/api/ui/#class-functions