INPUT /  OUTPUT /  LANGUAGE





onSet field

Code field

Code carried out when a new value is assigned to a scalar.

Applies to...

The scalar tag.

Sample usage

Behaviour

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.

See also