> For the complete documentation index, see [llms.txt](https://docs.novarietygames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novarietygames.com/websitecreator/css-interpreter/position.md).

# position

The `position` CSS property sets how an element is positioned in a document. You can use the properties x, x-offset, y, y-offset or position to determine the final location of positioned elements

This positioning uses ROBLOX's UDim2 positioning with only scale and offset

Use the position property to change both the scale and offset of both x and y

Example

```css
x: 1; /* evaulates as 1px so returns 1 */
/* changes scale */
x-offset: 50%; /* evaulates as 0.5% so returns 0.5 */
/* changes offset */
y: 100%; /* evaulates as 100% so returns 1 */
/* changes scale */
y-offset: 50; /* evaulates as 50px so returns 50 */
/* changes offset */
position: 0.3 50 0.2 25; /* returns 0.3px 50px 0.2px 25px */
/* changes both scale and offset */
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.novarietygames.com/websitecreator/css-interpreter/position.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.
