Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Predefined variables in an Action script represent a set of variables defined by the script engine before a script evaluation is executed. You can refer to these predefined variables from any action script API.

VariableDescription

$context$ or _context_

A context or runtime object of current script evaluation. For a Constraint Block, it is the runtime object of the owner of the Block and not of the Constraint Block itself.

$element$ or _element_

An owner element of the script.

$performs$ or _performs_Checking an active Activity of the context being executed.

$signal$ or _signal_

The last signal Instance in an Event pool of a specified object.

$state$ or _state_

An active State of a context or a runtime object of a current script evaluation.

$token$ or _token_

A token value of an active model element.

self

Equivalent to $context$ or _context_. For a Constraint Block, it is the runtime object of the Constraint Block itself.

sig_ + "property name"

The specified property value of the last signal.