Skip to content

HandlerPriority() ​

ts
function HandlerPriority(): number;

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

Example ​

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