How to use the UIGradient on the Text of a TextButton?

Greetings,

I am trying to set up a UIGradient on my GUI but I can’t seem to set the gradient on the text of my textbutton, the problem is that I cannot place the text on top of the button itself i need to only have the button itself with nothing on top of it. Please help, thanks!

Not sure if there’s a way to make only the text with UI gradient with only a TextButton unless you’re ok having the button background only in black. The only way to make the text with a gradient and not affecting the background is to use a TextLabel with transparent background and the TextColor3 set to white.

image

image

GradientButtons.rbxm (6.8 KB)

Sorry if this doesn’t satisfy your question ¯\_(ツ)_/¯

7 Likes

Yea I ended up doing this I guess, very sad they didn’t add it for this.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.