## Direction Command

This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact us.

**Go to the version which can be edited by users.**##### Direction

This article is about GeoGebra command.

##### Command Categories (All commands)

- Algebra Commands
- Chart Commands
- Conic Commands
- Discrete Math Commands
- Function Commands
- Geometry Commands
- GeoGebra Commands
- List Commands
- Logical Commands
- Optimization Commands
- Probability Commands
- Scripting Commands
- Spreadsheet Commands
- Statistics Commands
- Financial Commands
- Text Commands
- Transformation Commands
- Vector and Matrix Commands
- CAS Specific Commands

- Direction[ <Line> ]
- Yields the direction vector of the line.
**Example:**`Direction[-2x + 3y + 1 = 0]`

yields the vector \(u= \begin{pmatrix} 3 \\ 2 \end{pmatrix} \)

**Note:**A line with equation*ax + by = c*has the direction vector*(b, - a)*.