Widget API: Button:GetHighlightTexture

Widget API ← Button < GetHighlightTexture

Returns the highlight texture for the selected button

texture = MyButton:GetHighlightTexture()

ReturnsEdit

texture
String - path to texture file

NotesEdit

Will return nil when the button does not have an highlight texture