When a function defined in <script/> gets called, in `m.top` it will find a pointer to the <component/> that declared it.
I was confused too (i only hope i am not anymore!). The use of "top" is a misnomer - it does not mean the Scene under which everything is attached, it's a top just from the point of view of the XML file <component/> unit. A better naming would have been "m.component" or "m.this" or "m.self" or "m.node" or "m.m" . But that naming ship has sailed.