# RAY Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md)
**Function Description:**
This command is used to create an unlimited extension line from one point.
The starting point and the through point define the ray extension direction. The ray is extended to the boundary of the display area. The command prompt of Specify through point will not stop until pressing Enter.
The ray is a line with unlimited extension in one direction, it can be used as reference of other objects.
**Command Access:**
> **Icon:** 
> **Menu:** Draw > Ray
> **Ribbon:** Home > Draw > Ray
> **Toolbar:** /
> **Command:** RAY
> **Alias:** /
**Command Prompts:**
```
Specify start point:
Specify through point:
```

---
**Related References:**
- [Commands about Constructing Geometry (GstarCAD 2026)](../../2026/Commands/Commands%20about%20Constructing%20Geometry.md)
**Related Tasks:**
- [To Create Construction Lines (GstarCAD 2026)](../../2026/Commands/To%20Create%20Construction%20Lines.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences/RAY.html) · © Gstarsoft Co., Ltd.