You can access detailed information about the current section being rendered, including its settings and blocks, using the section object.
To learn more about sections, and using them in your theme, see Sections.
Syntax
Properties
The unique identifier of the section. This is automatically generated in JSON template when they’re added by theme editor.
The blocks of the section, accessible by their IDs.
The IDs of the blocks of the section, in the order they will appear.
The settings of the section.
Scope
It’s accessible globally in any section or block.