Condition on block in layout?

Goodday,

I’m using a layout in a blueprint and want to add a class-field, but only, when the block-type is image
How can I achieve this?

      layout:
        type: layout
        pretty: true
        layouts:
          - "1/1"
          - "1/2, 1/2"
        fieldsets:
          - heading
          - text
          - image
        settings:
          fields:
            class:
              label: Klasse
              type: text
              width: 1/2
              when:
                layout:
                  fieldsets:
                    image: true

This does not work :frowning:

That’s not possible. When queries only work for other field values.

Mhm, thank you.