> For the complete documentation index, see [llms.txt](https://algolytics-technologies.gitbook.io/algolytics/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://algolytics-technologies.gitbook.io/algolytics/scoring.one-platform/scenario-building-blocks/scenario-code.md).

# SCENARIO CODE

<figure><img src="https://2784301415-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZKEXabVqsSUGdA72pv7B%2Fuploads%2FAC3Hvu1xNvcfKJHeWmlO%2Fimage.png?alt=media&amp;token=e01a02b0-8b5f-4eee-97e8-a75786d03880" alt=""><figcaption></figcaption></figure>

SCENARIO CODE node allows to nest a scenario inside other scenario. This mechanism allows separating reusable components in various scenarios.&#x20;

<figure><img src="https://2784301415-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZKEXabVqsSUGdA72pv7B%2Fuploads%2FK97pJEQVq1l5NiHXpsiL%2Fimage.png?alt=media&amp;token=656d39e8-3f88-4931-ae82-157b50bbb82c" alt="" width="375"><figcaption></figcaption></figure>
