Ah ok but I thought I did it with the goto function when the character died, as I posted in my first post?
[lua]
local function goto( event )
physics.pause( )
Runtime:removeEventListener(“collision”, onCollision)
Runtime:removeEventListener(“collision”, onCollision1)
Runtime:removeEventListener(“collision”, onCollision2)
composer.showOverlay( “dodmenu1”,{isModal = true,effect = “fade”,time = 500,})
end
[/lua]