using timers

TimeSensors output a steady stream of events over a specified time period. they are very useful for incremental updates to object properties (a.k.a animation). this scene's routing is as follows:
  TouchSensor.touchTime_changed » TimeSensor.set_startTime
  TimeSensor.fraction_changed » DirectionalLight.set_intensity
click on the lightbulb to see the effect.
[wrl]