Computes the cosine of an angle in degrees.

Cos
Cos.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Num
Outputs Cos(Num)

Similar to the function Sin but instead, the output value starts from 1. Outputs a value between 1 and -1 depending on the given input, which represents an angle (0°–360°).