okay that was simpler than expected, for anyone el...
# scripting
n
okay that was simpler than expected, for anyone else who may need this:
Copy code
(context.script as? FileScriptSource)?.let { script ->
    // access `script.file` here
}
👍 1