Unreal Engine 4.20
- Go to:
Edit > Plugins > Scripting
And enable the Python Editor Script Plugin.
* also recommended to enable Editor Scripting Utilities,
And Sequencer Scripting plugins
- Restart the UE4 Editor.
Window > Developer Tools > Output Log
- Switch the command-line mode from Cmd to Python, write Python commands and press Enter to execute them:
- Or in Cmd mode, write ‘py‘ with a path to a Python script file, and hit Enter to execute the script:
- Scripting the Editor using Python:
- UE4 Python API reference:
2 thoughts on “UE4 – Python Scripting – how to start”