> For the complete documentation index, see [llms.txt](https://gocomedyfunstoredocs.gitbook.io/gocomedyfun-store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gocomedyfunstoredocs.gitbook.io/gocomedyfun-store/scripts-free/dj-fun/english/configuration/locations/vec3.md).

# Vec3

**How to Convert a Position to vec3**

***

**1. Identify the raw coordinates**\
Example:\
`198.9267, 1165.3130, 227.3887, 76.4760`\
(The last number is usually the rotation)

***

**2. Remove the rotation**\
Result:\
`198.9267, 1165.3130, 227.3887`

***

**3. Round the values to two decimal places**\
Result:\
`198.92, 1165.31, 227.38`

***

**4. Format as vec3**\
Final result:\
`vec3(198.92, 1165.31, 227.38)`
