# AttachToContainer

### Introduction

The AttachToContainer property sets whether a contained object attaches to the Entity that contains it. By default this property is set to true for all objects contained in an Entity.

### Setting AttachToContainer to True

This property will appear on all objects which can be attached to their containers in Glue.

<figure><img src="/files/OqUIqxnNQDElzavwhjb9" alt=""><figcaption></figcaption></figure>

### AttachToContainer availability

AttachToContainer is only available on objects inside Entities.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flatredball.com/flatredball/glue-reference/objects/glue-reference-attachtocontainer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
