UIButton
Inherits from UILabel
UIButton is a class used for having interactable buttons in your place's UI.
Summary
Properties
Interactable:bool=true
Events
Clicked:void
Properties
Interactable
UIButton.Interactable: bool=true
Determines whether or not the player can click on the button and if the .Clicked event will be fired.
Events
Clicked
UIButton.Clicked()
Fires when the UIButton is clicked
Example
script.Parent.Clicked:Connect(function ()
print("The button was clicked!")
end)