I can’t find any tutorials on the matter, so i don’t know ehre to start, so i made this post. I know there is a mouse like option but i’ve seen how you can make it so you don’t have to use that.
I’m confused. What are you trying to do exactly?
I want to make a group of GuiButtons that can be selected / navigated with a controler, without the virtual cursor.
Are you still searching for answers?
If so, the console already have a feature to work with GUI buttons. The user can press the small button to the left of the Home Screen and it will allow them to navigate the other buttons with their joystick. You do not need to script anything for console to work with GUI buttons.
Yeah, but that bugged out a bit because you could select buttons that were not visible, so i waned to see if you could control what buttons you could get access to by just moving the controller, it also looks cleaner.
Look into UIS and what each console button does.
What do you mean by that? What UIs?
Also what do you mean by console button?
UIS is UserInputService. I meant controller button and not console button sry lol.
Oh ok, that makes more sense :))
If you own a control I have a small script that can help you detect which Enum the buttons are.
Yes I do own a controller, can you show me the script please?
Put this in starterplayerscripts inside a localscript. It’s really simple. If it prints smthg weird then tell me.
local uis = game:GetService("UserInputService") uis.InputBegan:Connect(function(key) print(key.KeyCode) end)
Ok, that is useful, but how do i highlight a gui button so it can e pressed like with coreGui
I think what you would do is not even use buttons, but rather use frames, then getting the mouse position on your screen, and detecting if i is on he button. I’m not sure how console works so you will need to experiment with stuff.
Oh hmm, I am not too sure about that. I did not realize that was an issue.