Page 1 of 1
how to make text clickable like a button
Posted: Wed Oct 30, 2019 12:11 pm
by geemoddie
like make a button
Re: how to make text clickable like a button
Posted: Wed Oct 30, 2019 4:31 pm
by raidho36
The same way you make a button with a label, but skip the button part so it's just the label.
Re: how to make text clickable like a button
Posted: Thu Oct 31, 2019 5:12 pm
by Luke100000
and if you want the bounding box adapt to your text, use
width = Font:getWidth( text ) to get the texts width
height = Font:getHeight( ) to get its height
love.graphics.getFont() to get the current font