RaycastResult.valid
Returns whether the raycast successfully hit a target.
Kind: Member
Environments: Game
Game
Get
Returns whether the raycast successfully hit a target.
Returns:
| Type | Description |
|---|---|
| boolean | Whether the raycast successfully hit a target. |