editor_run_python
Execute Python scripts directly within Unreal Editor to automate tasks or extend functionality. Ensure scripts include import unreal and refer to Unreal Python documentation for proper usage.
Instructions
Execute any python within the Unreal Editor. All python must have import unreal at the top. CHECK THE UNREAL PYTHON DOCUMENTATION BEFORE USING THIS TOOL. NEVER EVER ADD COMMENTS
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
}