title: Moodle Event Heirarchy
body: <p>What core Moodle events will allow me to see when a student navigates between areas of a course?  I need to build an event trigger plugin, to call an external REST endpoint, every time a student navigates between screens, begins or ends a course module, etc.  The <a href="https://docs.moodle.org/dev/Events_API#Event_dispatching_and_observers" rel="nofollow noreferrer">Event API docs</a> has a long list of events, however I cannot find anything which details when the event will actually fire.  Also, the only activity I can find, which seems to <em>remotely</em> relate to what I'm looking for is <code>course_module_viewed</code> and, unfortunately, that event name repeats in many areas:</p>
  <pre><code>core\event\course_module_viewed
  mod_lti\event\course_module_viewed  
  mod_page\event\course_module_viewed 
  mod_resource\event\course_module_viewed 
  mod_url\event\course_module_viewed
  </code></pre>