Method GetCurrentScriptName
GetCurrentScriptName(int)
Gets the name of the currently executing script.
If depth is > 0, it will return the name of the script that called this one via ExecuteScript().
public string? GetCurrentScriptName(int depth = 0)
Parameters
depthintdepth to seek the executing script.
Returns
- string
The name of the currently executing script.