knb.setSchedulingBounds(bounds);
tgAll.addChild(knb);
theScene.addChild(tgAll);
//The PickTranslateBehavior for moving the blue cube.
PickTranslateBehavior pickTrans = new PickTranslateBehavior(theScene,myCanvas3D,bounds);
theScene.addChild(pickTrans);
//This class takes care of changing the colour of the sphere when the cube touches it.