Use widget library : https://docs.coronalabs.com/api/library/widget/newButton.html
local function suppress(event) --select your line here to do what you want end -- local button1 = widget.newButton(     {         label = "button",         onRelease = suppress,         emboss = false,         shape = "roundedRect",         width = 100,         height = 100,         cornerRadius = 5,         fillColor = { default={1,0,0,1}, over={1,0.1,0.7,0.4} },         strokeColor = { default={1,0.4,0,1}, over={0.8,0.8,1,1} },         strokeWidth = 4     } )
And add button1 near the textBox at y’s coordonnate of the lines.