I am a newbie and the situation is from the menu of the game that i’ve created is a music button when you tap it, it will actually disable itself with another logo and hold itself until i enable it again. here is my code
local function onMusicBtnRelease()
local hold = display.newImage(“images/Buttons/Music1.png”)
return true
end
local musicBtn = widget.newButton{
defaultFile =“images/Buttons/Music.png”,
overFile =“images/Buttons/Music1.png”, <------- logo that has a disable sign
width= 900, height=300,
onRelease = onMusicBtnRelease – event listener function
}
musicBtn.x = 690
musicBtn.y = 1750
end
need help