Definition

A "definition" in the context of MegaZine3 attributes and Asul attributes refers to an expression of certain format, defining some behavior.

The basic structure is:

Depending on the context only one command may be used / allowed. The type of interpretation of such definitions is always context sensitive, i.e. it depends on where such a definition is used how it is interpreted. For example, for the Overlays plugin, the  attribute uses the format

i.e. the first two arguments always have the same meaning (mouse over and out alpha values of the overlay), while the remaining attributes depend on the overlay type defined via the "command" (overlay_type).

For ASUL objects, an example is the definition of an element's.

In the newer versions of the engine (2.0.6+) it is possible to use strings, i.e. to do something like this:. Note that  and   are evaluated as exactly the same.