# GetCompDirectionFromPosAxis

[ExistentDocumentation](https://gitlab.com/lightgarden-studios/existent-documentation/-/blob/v0.1.0/resources/BPNodes/index.md) > [ExistentMathLibrary](https://docs.existent.com/documentation/resources/existent-api/index/existentmathlibrary) > Get Component Direction From PositiveAxis

## Get Component Direction From PositiveAxis

Get Comp Direction from Pos Axis

![](https://1703910255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMcYOcQvRHegsbRBs8rGB%2Fuploads%2Fgit-blob-7eddf2bfe15c2661c587e90184b216f42774814d%2Fnd_img_GetCompDirectionFromPosAxis.png?alt=media)

#### 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 |
