Construct 2 is being retired on 1 Jul, 2021. We strongly recommend upgrading to Construct 3.

Bound to Layout behavior

The Bound to Layout behavior simply prevents an object leaving the edge of the layout. It is most useful on objects which move around but should not leave the layout area.

It has no conditions, actions or expressions, just the following property:

Bound by

Set to Edge to prevent any part of the object leaving the layout. The object will stop at the position shown below:

Set to Origin to only prevent the object's origin leaving the layout. The result depends on where the origin is placed on the object, but with a centred origin the object will stop in a position similar to the image shown below:

Construct 2 Manual 2020-06-09