For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/types/Ray.md.

Type Alias: Ray

Ray = object

Beta

Ray representing a direction from a set location. This location typically corresponds to the location of a mouse click performed on the client.

Properties

cursorBlockLocation

cursorBlockLocation: Vector3


direction

direction: Vector3


location

location: Vector3


rayHit

rayHit: boolean