According to the API-reference, the Active property determines whether GuiButton.Activated fires.
This works fine on PC and mobile, but on XBOX, the player can click on buttons and fire the Activated event. regardless of the Active property.
According to the API-reference, the Active property determines whether GuiButton.Activated fires.
This works fine on PC and mobile, but on XBOX, the player can click on buttons and fire the Activated event. regardless of the Active property.
Could you provide us with more info regarding this issue?
I have a module that disables button dynamically:
button.Active = bool
When a button is set to false, Activated won’t fire for PC and mobile, as it should according to the API.
button.Activated:Connect(function()
print('Fired:', button.Active)
end)
However, on XBOX, clicking the button would print ‘Fired false’, which shouldn’t happen.
Thanks for the report! We’ve filed a ticket to our internal database and we’ll follow up when we have an update for you.