How Do I make a button from an overlay go away after the button is pressed?

I am trying to make a button appear on screen that gives you a temporary speed boost but I can’t figure out how to make the speed go back to normal or how to make the button go away after it is used.

you can disable the button after using it, it should make it go away

Make the overlay transmit on “DisableOverlay” after pressed, then, make the overlay hide after receive on “DisableOverlay”
For Temporary speed boost (the whole thing you want to make), here are the guides:

I mean the button that appears from the game overlay

just wire it and make it say when button pressed, deactivate overlay

Go to the setting of your overlay, the default option of the type of overlay is text. Select it and choose “Button”.

This is totally not what @DarnocTheGimkitSweat is asking about, this method is for deactivate an overlay after pressing a Button, which is a separated device. While we are talking about the button of an Overlay.

oh okay then just wire it to a trigger, then when triggered deactivate overlay

Is that it or what is it?

That will work. However, making the overlay deactivate after receive on the channel sent by itself is more memory-efficient and more easy than adding an extra trigger/wire repeater to this system.

sure but not by that much memory, plus I’m too lazy to do that

Welcome to the forums @DarnocTheGimkitSweat. hope you have fun here