When getting events from (read-event)
it's possible to access only mouse events using (mouse-movement-p event)
.
Inspecting the events I've found I can get the Y pixel location using (cdr (nth 2 (nth 1 event))
however this seems overly cryptic.
What is a good way to access data in mouse motion events?