I watched a tutorial on how to customize your own panel tools. So I experimented and wrote a script to display every function I needed on a panel so that I would have quick access to.
I wanted more specific functions on the panel such as a commandButton to run a script. (the script’s name shown below is angle()) Is that possible?
Also can you create an input field on the panel for the variable1 (currently set on 0) that has an interval from 0 to 10?
I uploaded a video (best watched at 720p) to make it more clear what my problem is. Your answer has helped me but I don’t know how I can implement it into my script.
you need two properties, an operator property (which won’t show in a panel by itself, it will in the redo panel however if your operator enables undo) and a global property (which can be added to a panel like layout.prop(…))