Skip to content
beta
Search
K
Main Navigation
Guide
Editor
Scripting
WebXR
Current docs
Appearance
Menu
Return to top
On this page
Are you an LLM? You can read better optimized documentation at /docs/beta/scripting/api/ray.md for this page in Markdown format
Ray
A ray with origin and direction, useful for raycasting
Properties
direction
read-only
Type:
Vector3
Normalized ray direction
origin
read-only
Type:
Vector3
Ray starting point in world space