Hello guest! Login or Register
Construct 2 r90

Released Friday, May 11, 2012 at 2:01:09 PM

28mb for Windows XP, Vista & 7

Free Download
Download Manual

Coming Soon

Pin behavior


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.

Previous Entry
Physics
Next Entry
Platform

Feedback on this page
How useful was this page for you?
Do you have any suggestions for this page?