I have put this into scene creation:
Runtime:addEventListener("key",keylistener)
And this into scene destroying:
function scene:destroy() local group = self.view group:removeSelf() Runtime:removeEventListener("key",keylistener) end
But this listener is never removing and start multipling every time I reload the scene.