Code carried out when a new value is assigned to a scalar.
The scalar tag.
<score:scalar onSet=<shown score> 0> updates the span shown whenever score changes.A code field: holds code to be carried out each time the event happens. Add code after the tag is created with .push.
The scalar already holds its new value when the code runs.