You should look at Cracker64's script manager for inspiration. I don't think there's a way to add it the same way as in the source, but you can still add buttons: https://powdertoy.co.uk/Wiki/W/Lua_API:Interface.html#Button Making a button to emulate a tab is probably your best bet.