Detect When Xbox Player Enters Selection Mode

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I want to know how to detect when a player on Xbox starts selecting UI objects on their screen.

  1. What is the issue? Include screenshots / videos if possible!

I would like to know how to do this because I have many UI objects in my game, and I want to detect when they select one (I guess need for this situation)

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

Yes, I did. I only found out how to do it for each individual object.

This is my first post. Sorry if there any mistakes

try

game:GetService("GuiService"):GetPropertyChangedSignal("SelectedObject"):Connect(func)
or
game:GetService("GuiService").Changed:Connect(func)

Reference:

i cant verify these methods since i dont exactly have an xbox w/ me but i believe they should work

1 Like

It works! Thanks.

(wow, I can’t believe I missed that)