HitResult
Represents the result of a raycast or similar action, containing details about the position and the type of object hit.
Fields
pos: Vec3 — Read-Only
A copy of the position where the hit occurred.
type: HitType — Read-Only
What was hit, or "miss" if nothing was.