Skip to content

Unreal Python script editor

Unreal doesn’t has a native Python script editor.

You can download the script editor as an Unreal plugin here: https://github.com/hannesdelbeke/unrealScriptEditor-plugin
Since it’s pure Python it should work in all Unreal versions.

Planning

planning notes from before contributing to the tool

pyqt5

plugin

setup the script editor as a unreal plugin

  • auto install dependencies through pip.

tkinter

  • we could use tkinter, which ships with in unreal.
  • this page covers various basics & how to make a tkinter text editor
    import tkinter as tk
    window = tk.Tk()
    greeting = tk.Label(text="Hello, Tkinter")
    greeting.pack()
    window.mainloop()
    

    see tkinter in unreal gist

other

The script editor could be dcc independent. E.g. a generic qt widget

The startup code creates a Unreal editor button