monitor proto


  
  PROTO monitor [
  exposedField SFVec3f translation 0 0 0
  exposedField SFVec3f scale 1 1 1
  eventIn MFString string 
  ]{
  Transform {
  translation IS translation
  scale IS scale
  children [
      Shape {
      appearance Appearance {
        material Material { diffuseColor 1 1 1 }
        }
      geometry DEF group Group { 
      children [ DEF text Text { string [ "click me!" ] } ]
      }
      }
      ]
  }