#VRML V2.0 utf8
Group {
children [
Shape {
appearance Appearance {
material Material { }
}
geometry Cone { }
}
DEF TOUCH TouchSensor { } # define the sensor
DEF LIGHT DirectionalLight { # define the light
color 0 1 0
on FALSE
}
]
ROUTE TOUCH.isOver TO LIGHT.set_on
}