	gui.add( params, 'sharedSkeleton' ).onChange( function () {

					clearScene();
			
					if ( params.sharedSkeleton === true ) {

						setupSharedSkeletonScene();

					} else {

						setupDefaultScene();

					}
			
				} );
				gui.open();

			}

			function clearScene() {

				for ( const mixer of mixers ) {

					mixer.stopAllAction();

				}

				mixers.length = 0;

				//

				for ( const object of objects ) {

					scene.remove( object );

					scene.traverse( function ( child ) {

						if ( chil