Hello,
I’m a newbie, and googled this issue but did not find it anywhere.
I do have several buttons, and I would like to be able to click on each of them to display a different number in one separate text box.
Any help would be welcome.
Thank you!
Here is what I have so far:
print(“Top Left”)
local textobj = display.newText(“click”, 250, 150, “arial black”, 100) textobj:setFillColor(1, 1, 1)
local myButton = display.newImage( “0.png” )
myButton.x = display.contentWidth -380
myButton.y = display.contentHeight -500
local myButton = display.newImage( “1.png” )
myButton.x = display.contentWidth - 280
myButton.y = display.contentHeight -500