',text:"Time "+(animationTime*0.001).toFixed(2)});
      if(compressed) {
        var transforms = []
        for(let obj in animation) {
          var mat = animation[obj][ind];
          if(mat != null)
            transforms.push({name:obj,matrix:mat});
        }
        klampt_frontend._set_transforms(transforms);
      }
      else {
        klampt_frontend._set_transforms(animation[index()].object);
      }
    }
    if(rpcs) {
      if(animationIndex == null)
        animationIndex = 0;
      if(ind 