Is your feature request related to a problem? Please describe.
When ClickDetectors are involved in maps, it usually becomes hard to indicate. So one might place a button inside the ClickDetector part to indicate it. But how do we get the button pressed?
Describe the solution you'd like
A solution could be a script function which activates a button. This can be done by, well, there's already an unofficial script for it: MapLib:_MapHandler.ButtonHandler:GetButton(1):Activate(game.Players:GetChildren()[1])
However this can certainly be made much more shortened.
MapLib:ActivateButton(1)
Of course this won't be used just for ClickDetectors. It's likely that things like UI or making more than one "Hitbox" would benefit from this too.
Additional context
Proof that this would actually be used:
Is your feature request related to a problem? Please describe. When ClickDetectors are involved in maps, it usually becomes hard to indicate. So one might place a button inside the ClickDetector part to indicate it. But how do we get the button pressed?
Describe the solution you'd like A solution could be a script function which activates a button. This can be done by, well, there's already an unofficial script for it: MapLib:_MapHandler.ButtonHandler:GetButton(1):Activate(game.Players:GetChildren()[1]) However this can certainly be made much more shortened. MapLib:ActivateButton(1)
Of course this won't be used just for ClickDetectors. It's likely that things like UI or making more than one "Hitbox" would benefit from this too.
Additional context Proof that this would actually be used:
https://user-images.githubusercontent.com/104731980/235231866-5b0b9723-26f2-4b55-9b01-7e4f9f14b449.mp4