Developers looking to add new buttons, overlays, popups to the game might need to create new UI Elements.
There are two ways of creating UI Elements, through the [Map Editor]or through custom cards.
Elements created in the [Map Editor] come in static and card forms.
[Card Types]
name: "UIElement",
properties: ["value", "buttonText"],
backgroundProperties: ["hoverPreviewOff", "elementType"]
name: "Rule",
properties: ["description", "value", "text", "body"],
backgroundProperties: ["hoverPreviewOff", "elementType"]
Working with