So I was testing around with CAS(ContextActionService) and I'm fairly new to CAS so I do not know much about it. I made a simple, simple script to see how CAS works. The problem is, that, I set some text for the button but the text is not fitting in the button so it just says a fraction of the text I wanted it to show up. I looked in the wiki but couldn't find any, SetSize() functions. The script is below. Please help! (Below the script I have more questions.)
local cas = game:GetService("ContextActionService")
function pressed()
print("Pressed")
end
cas:BindAction("PrintButton",pressed,true,'g')
Questions:
- Will this work if a player will hold the button?( Like maybe if your making a machine gun ) 2.How would I use this in a tool with FE? 3.Is there a more accurate way to make buttons?

1 comment
"text for the button but the text is not wrapped"? Are you referring to a Gui? Please elaborate on the issue again.