> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/players/get-player-aiming-vector.md).

# Get Player Aiming Vector

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-d00b62f414bc095d8cfab9ae24bef28f0864dd1e%2Fget-player-aiming-vector.png?alt=media)

## Description

Returns the Player's aiming vector. Returns global forward if the Player is invalid.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input  | Type   | Required | Description                            |
| ------ | ------ | -------- | -------------------------------------- |
| Player | Player | Yes      | Which player to get aiming vector for. |

## Outputs

| Output        | Type    | Description                   |
| ------------- | ------- | ----------------------------- |
| Aiming Vector | Vector3 | Given player's aiming vector. |

\
\
**Contributors**

AddiCt3d 2CHa0s
