> 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/vehicles/get-squared-vehicle-speed.md).

# Get Squared Vehicle Speed

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-9d549700e7523265c3faca8d12eab6ad6e9fba0f%2Fget-squared-vehicle-speed.JPG?alt=media)

## Description

Returns the squared speed in world units per second of the vehicle the Player is in. Returns 0 if the Player is not in a vehicle.

## 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 check vehicle speed for. |

## Outputs

| Output                | Type   | Description                           |
| --------------------- | ------ | ------------------------------------- |
| Squared Vehicle Speed | Number | Squared speed. 0 if not in a vehicle. |

\
\
**Contributors**

AddiCt3d 2CHa0s
