I found a lua element creator but it was very outdated (in lua assistance catagory). How do i make a new element? What code and extension do I have to have?
I have a want also to make this easier, in feedback catagory.
That creator is for Lua scripting, not C++. For creating new elements in C++, which it seems you're asking about, look at the wiki page 'Building TPT with meson' and look at the element scripts, learn how TPT elements work. If you don't know C++, sorry, I can't really help you. If you want to use Lua scripts, ask in Lua Assistance.