cos(x)
From YoYoGames Wiki
Description
The cos() function returns the cosine of an angle in radians.
Arguments
- x (real): angle in radians
Returns
- (real): cosine of x
Explanation
If you prefer working with degrees, you can convert degrees to radians by using the function degtorad(x) and then enter this as an argument.

