{
 "pack": 1,
 "id": "c4c:beh:walk",
 "type": "behaviour",
 "version": "1.0.0",
 "name": "Walk in",
 "description": "Walks in from a side with a real two-bone gait, then settles.",
 "author": {
  "id": "c4c",
  "name": "Crafts4Class"
 },
 "license": "cc0",
 "remixable": true,
 "derived_from": [
  {
   "id": "tween:studio/behaviors.py",
   "version": "2026-06-08",
   "note": "pose(\"walk\")"
  }
 ],
 "preview": {
  "moves": [
   "walk"
  ],
  "seconds": 4.0
 },
 "content_hash": "sha256:69863bc3b4b76fd1ed72503fd72b98bdb164a8dfb1bf8c03ff5a0730b5084743",
 "content": {
  "v": 1,
  "kind": "behaviour",
  "params": {
   "from": -760,
   "to": 0,
   "t_in": "=min(max(dur*0.6, 0.5), 3.0)"
  },
  "scripts": [
   {
    "hat": {
     "on": "start"
    },
    "body": [
     {
      "op": "set",
      "to": {
       "dx": "=from"
      }
     },
     {
      "op": "together",
      "branches": [
       [
        {
         "op": "ramp",
         "to": {
          "dx": "=to"
         },
         "over": "=max(t_in, 0.1)",
         "ease": "smooth"
        }
       ],
       [
        {
         "op": "for",
         "s": "=max(t_in, 0.1)",
         "body": [
          {
           "op": "gait",
           "every": 0.62,
           "armSwing": 0.45,
           "bob": [
            -2,
            3
           ],
           "roll": 1
          }
         ]
        }
       ]
      ]
     },
     {
      "op": "wave",
      "ch": "dy",
      "shape": "abssin",
      "w": 2,
      "amp": -2,
      "offset": -1,
      "sync": "start"
     }
    ]
   }
  ],
  "name": "walk"
 }
}
