HandlerPriority()

function HandlerPriority(): number;

This function returns the priority of the event-handler that triggered the execution of the script currently being run.

Example

{
  var hpri = HandlerPriority();
  Log(hpri); // will log (for example): 10
}