> For the complete documentation index, see [llms.txt](https://docs.existent.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.existent.com/documentation/v0.0.2/resources/existent-api/index/existentmathlibrary/getcompdirectionfromposaxis.md).

# GetCompDirectionFromPosAxis

[ExistentDocumentation](/documentation/v0.0.2/resources/existent-api/index.md) > [ExistentMathLibrary](/documentation/v0.0.2/resources/existent-api/index/existentmathlibrary.md) > Get Component Direction From PositiveAxis

## Get Component Direction From PositiveAxis

Get Comp Direction from Pos Axis

![](/files/GOc1pi6HT8j2WShlSUmm)

#### Inputs

|                                                                       |   |
| --------------------------------------------------------------------- | - |
| <p><strong>Component</strong><br>Scene Component Object Reference</p> |   |
| <p><strong>Axis</strong><br>EExistentPosAxis Enum (by ref)</p>        |   |

#### Outputs

|                                               |                                  |
| --------------------------------------------- | -------------------------------- |
| <p><strong>Return Value</strong><br>Vecto</p> | Get Comp Direction from Pos Axis |
