Good day I would like my module to behave like this:
local newButton = widget.newButton{params}
I would like to make my own version of a widget.newButton
sor far all I can do is this:
--new Module.lua local M = {} M.newButton = function(All Params insert here) --Do something here end return M
I don’t have much problems in here, but it looks so long and confusing for new users of my module, also for myself I still got confused with my function.