# RaycastResult.directionWorld

Returns the direction vector of the raycast

**Kind:** Member

**Environments:** Game

## Game

[Open the full Game reference](../Game-Script-Environment/Userdata/RaycastResult.md#directionworld)

### Get

Returns the direction vector of the raycast

**Returns:**

| Type | Description |
| --- | --- |
| [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The directional vector of the raycast, with length equal to the range the raycast was created with. |
