Theme Extensions - changing block.settings

Topic summary

Main issue: Whether a Theme Extension can programmatically change a block.settings value defined in Schema while using the visual designer/editor.

Goal: If the value of one setting (Num1) is changed, automatically execute logic to update another setting (Num2).

Clarifications sought:

  • Can schema-defined settings be mutated by extension code at edit-time in the designer?
  • Are there supported on-change events, hooks, or scripting capabilities that can write back to other settings?
  • Is this linkage between settings supported or restricted by the designer’s API/permissions?

Context: The author references two numeric settings (Num1 and Num2) and wants a reactive update behavior triggered by changes to Num1.

Artifacts: A screenshot illustrating the schema/settings (Num1 and Num2) is central to understanding the request.

Status: No answers or guidance provided yet; the question remains open and unresolved.

Summarized with AI on January 4. AI used: gpt-5.

Hello,

I was wondering if it is possible to change a value of block.settings in Schema from a Theme Extension whilst using the designer?

E.g. below:

If let’s say we change Num1 to any other number, to run a script that would change the value of Num2?