hey guys, transition not working
ideas ? 
— EDIT
just found the object.isHitTestable feature , nice! But the value isn’t changing 
local \_21pass = 0 function confirm21( event ) \_21pass = 1 - \_21pass if \_21pass == 0 then transition.to( \_21button, { alpha = 0, time = 500 } ) end if \_21pass == 1 then transition.to( \_21button, { alpha = 1, time = 500 } ) end local buttonsound = audio.loadSound( "rightp.mp3" ) audio.play( buttonsound ) end local \_21button = display.newImageRect( "okgreen@2x.png", 17.5, 17.5) \_21button.alpha = 0 \_21button.x = centerX - 99 \_21button.y = centerY + 67 \_21button:addEventListener( "tap", confirm21 )
