(function(){ function avatarOffset(offset){ return Vec3.subtract(MyAvatar.position, offset); } var sphere01 = Entities.addEntity({ type: "Sphere", position: MyAvatar.position }); var sphere02 = Entities.addEntity({ type: "Sphere", position: MyAvatar.position }); var sphere03 = Entities.addEntity({ type: "Sphere", position: MyAvatar.position }); })();