Introduction to Attributes

Introduction to Attributes

An attribute of an object is a setting or property that tells the object how to do its job. For example, the metro object has an interval property that tells it how fast to run.

You can change attributes in several ways:

  • You can send the name of the attribute as a message followed by the attribute value

  • You can edit the attribute in the Inspector

  • You can initialize the attribute value by typing the name of the attribute as an argument to the object. Precede the attribute name with a @ (at-sign) and follow with a value.

Here is a more in-depth discussion about attributes from the Jitter documentation entitled What are attributes?