Can't touch on top right screen

hello help me, i can’t touch my button on top right screen
my code

local buttonplayfunction = function ( event )

if event.phase == “release” then

director:changeScene( “screengame”, “crossfade” )

end

end

local buttonmulai = ui.newButton{

defaultSrc=“Menu/mulai.png”,

defaultX=274/2,

defaultY=274/2,

overSrc=“Menu/mulaiOver.png”,

overX=274/2,

overY=274/2,

overScale=0.95,

overAplha=0.9,

onEvent=buttonplayfunction,

}

buttonmulai.x = display.contentCenterX + 100

buttonmulai.y = display.contentCenterY -50

thank you

i see your using director which is an old library, in any case, i think that an older (OLDER) version of director had that issue in it, updating to the most recent (albeit old) director file fixes the issue.

Also, I’m not sure if that ui library you are using does something differently, but there is no “release” phase for standard Corona touch events.

i see your using director which is an old library, in any case, i think that an older (OLDER) version of director had that issue in it, updating to the most recent (albeit old) director file fixes the issue.

Also, I’m not sure if that ui library you are using does something differently, but there is no “release” phase for standard Corona touch events.