Use unique IDs and classes to apply styles as it is not possible to limit CSS scope to just the overlay and anything entered here will be applicable to the rest of the document.
Register your listeners here. Overlays "html" is accessible in this scope.
Overlay marked as a UI element will always display above Tokens and will not interact with scene lighting.
{{~>modules/token-variants/templates/partials/repeating.html repeating=repeating root="" repeat=repeat padding="true"}}
{{{filterOptions}}}
Overlay will be visible in explored areas of the map even when the Token is not.
For this text to show make sure that no image is assigned to this overlay.
Token attributes can be inserted as so: {{name}}
{{ colorPicker name="text.fill" value=text.fill }}
Curve
Curve the text either by defining an angle it should bend by or a radius of an imaginary circle whose edge the text should sit on.
{{#if (eq shape.shape.type "rectangle")}} {{~>modules/token-variants/templates/partials/shapeRectangle.html shape}} {{else if (eq shape.shape.type "ellipse")}} {{~>modules/token-variants/templates/partials/shapeEllipse.html shape}} {{else if (eq shape.shape.type "polygon")}} {{~>modules/token-variants/templates/partials/shapePolygon.html shape}} {{else if (eq shape.shape.type "torus")}} {{~>modules/token-variants/templates/partials/shapeTorus.html shape}} {{/if}} {{~>modules/token-variants/templates/partials/repeating.html repeating=shape.repeating root=(concat "shapes." @index ".") repeat=shape.repeat padding="true"}}
{{/each}}