NativeUI | Player spins when menu is opened

Hello, I’m creating a menu with NativeUI, when the menu is opened the player just spins until the cursor is moved

I don’t need the cursor and defiently don’t need the spinning

Would appreciate any help

After creating the menu use this:

menuPool:MouseControlsEnabled(false)

I suggest looking into NativeUIs source for a lot more things you can do :slight_smile:

2 Likes

I’ve added

MenuPool:MouseControlsEnabled (false);
MenuPool:MouseEdgeEnabled (false);
MenuPool:ControlDisablingEnabled(false);

which has worked perfectly for the main menu, just still spins in the submenus, any idea of how I do the same for the submenus?

Execute it after creating any menu. It kind of doesn’t apply for “future” menus when creating submenus etc.

1 Like

Perfect, thank you!!

1 Like