Daily Godot Tip #28: You can group your exported variables into toggleable sections to make them a bit cleaner (and a similar structure to the built in variables)

@export_group("Text") is used to make a group and you can break out of the group using @export_group("")

46 points · 3 comments · view on lemmy.world

3 Comments

herrgef@feddit.org · 5 pts · 1y

hey OP, thank you so much for your daily tips! keep it up, im saving all of them.

you are a gem <3

Mikelius@lemmy.ml · 3 pts · 1y (1 reply)

And don't forget the awesome @export_subgroup("text") on top of that!

Mayonnaise@lemm.ee · 3 pts · 1y

Not included in their text, but it is in the screenshot. Probably helpful for you to point it out though, not everyone is going to read the code in the screenshot.