Transform text labels into buttons quickly

Hi, I have a gui with a bunch of text labels, and I would like to transform them all into buttons. Is there some kind of way to check when the text label is clicked, or some quick way to turn them all into buttons so they keep the same size, colour and text?

1 Like

I’ve been in a similar situation, and I found a plugin called UI Converter to help me. It’s proven to be very useful. In this case, it can convert a TextLabel to a TextButton while retaining properties.

script.Parent.InputEnded:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
		-- Clicked TextLabel
	end
end)