trigger Reference

Send input to many places.

trigger

Examples

Arguments

triggers [list]

Optional

The number of arguments determines the order and number of outlets. Each outlet can output incoming values or fixed values depending on the symbol argument used. Supported arguments are:

  • b, send a bang whenever any incoming message is received
  • i, truncates an incoming value; if input is a list, passes only the first element;
  • f, passes the incoming value unchanged; if input is a list, passes only the first element;
  • l, passes all values in an incoming list.
  • Constants can also be supplied and will be output any time a message is received.

Inlets

input [bang, number, list]

input to distribute

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

triggers [list]

The number of arguments determines the order and number of outlets. Each outlet can output incoming values or fixed values depending on the symbol argument used. Supported arguments are:

  • b, send a bang whenever any incoming message is received
  • i, truncates an incoming value; if input is a list, passes only the first element;
  • f, passes the incoming value unchanged; if input is a list, passes only the first element;
  • l, passes all values in an incoming list.
  • Constants can also be supplied and will be output any time a message is received.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [bang, number, list]

input to distribute

See Also

Name Description
route Select outlet based on input matching.
routepass Select outlet based on input matching.
select Output bangs based on input matching
swap Select outlet based on input matching
trigger Send input to many places.