Button
Description
We advise against using this. It may be changed or removed in a future update.
Only exists for backwards compatibility with Panel:SetActionFunction. Use DButton instead.
Parent
Derives methods, etc not listed on this page from DButton.
Implements
Implements or overrides the following hooks/methods. If you want to override these, you probably want to call the original function too.
Example
Creates a button with the text "Click Me"
that when pressed prints "Hello World!" in the console.
Output: