# Positioning

The positioning of controllers in a container or window in TotalCross is done very easily and practically and can be done in two ways

### Relative Positioning

{% content-ref url="/pages/-L\_mqy8KBQ7nY9gj47mQ" %}
[Relative Positioning](/master/documentation/guides/app-architecture/hbox-and-vbox.md)
{% endcontent-ref %}

### Manual Positioning

{% content-ref url="/pages/-L\_mr1s6G6LFyssyXoKQ" %}
[Manual Positioning](/master/documentation/guides/app-architecture/relative-positioning/manual-positioning.md)
{% endcontent-ref %}


---

# 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://learn.totalcross.com/master/documentation/guides/app-architecture/relative-positioning.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.
