Oncollisiono....need help

local boxScapr=false 

box3.isVisible ==true

function onCollisionOpen(event)
        if(event.other.myName==“myBoxScape”)then
            if(boxScape==false)then
                boxScape=true
                 box3.isVisible=false 
                 print(“open…”)
            end
        end
           return true
    end

ball:addEventListener(“colision”,onCollisionOpen)

I set box3 to false so that I can reach the hidden object for the game,

but notihngs happen,need help,Im new in corona…