Skip to content

ScriptID()

ts
function ScriptID(): string;

This function returns the ID of the script currently being run.

Example

ts
{
  var sid = ScriptID();
  Log(sid); // will log (for example): 8f56234fwerg425yg873
}