Method and apparatus for determining user engagement in a videogame