Returns the widget's handler function for a script

Signature:

handler = ScriptObject:GetScript("scriptType")

Arguments:

Returns:

  • handler - The object's handler function for the script type (function)