The Pin behavior positions an object at a relative distance and angle to another object, giving the impression it has been "pinned" to the object. For an example, see Pin behavior.capx in the Examples folder in Construct 2's install directory.
Simply adding the Pin behavior to an object does not do anything. You must use the Pin action to pin the object to another object.
Pin conditions
Is pinned
True if the object is currently pinned to another object.
Pin actions
Pin to object
Pin the object to another object. The behavior will keep the object at its relative distance and angle to the pinned object, based on its position at the time the Pin action is used.
Unpin
Unpin the object, so it is no longer being positioned by the Pin behavior.
Pin expressions
The Pin behavior has no expressions.