# VS:Perp

From Vectorworks Developer

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

## Description

Returns a vector which is perpendicular to the specified vector. The resultant vector will have the same magnitude as the source vector, and their scalar product will be zero. The direction of the return vector will equal Vec2Ang(Vec) - 90.FUNCTION Perp(

Vec :VECTOR) : VECTOR;

def vs.Perp(Vec): return VECTOR

## Parameters

Vec VECTOR Source vector.