← Back to Docs
  • index.html
  • Clayground
  • Clayground.Lab
  • Scenario
  • Clayground 2026.7
  • Scenario QML Type

    A named, scripted lab situation, used inside a ScenarioSet. More...

    Import Statement: import Clayground.Lab

    Properties

    Detailed Description

    The script sets up entity state imperatively (initial QML property values don't fire change handlers, so physics coordinates only sync on post-creation writes).

    See also ScenarioSet.

    Property Documentation

    description : string

    One-line explanation of the situation.


    name : string

    Name used with applyScenario()/the inspector reload action.


    script : var

    Function that sets up the situation imperatively.