luaGuiElement order property

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
unhott
Inserter
Inserter
Posts: 29
Joined: Tue Jan 09, 2018 3:01 am
Contact:

luaGuiElement order property

Post by unhott »

TL;DR
I would like a luaGuiElement order property, similar to how the built in craft GUI is orderable
What ?
Add luaGuiElement.order read/write such that executing this script would immediately move the second element before the first.
`
element1.order = "Z"
element2.order = "A"
`
Why ?
So that I can build a mod to rearrange existing GUIs.
Example: Image

Rseding91
Factorio Staff
Factorio Staff
Posts: 13223
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: luaGuiElement order property

Post by Rseding91 »

Moved to modding interface requests.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Modding interface requests”