# Tangent
Grammar — Tan(a)
Flags —Native
|Function
Returns the tangent of an angle. The angle should be specified in degrees.
# Arguments
fixed
— Angle
Returns — fixed
native fixed Tan(fixed degrees);
# Related
Category: Math / Trigonometry
- [F] —
fixed
— Sine — ( Sin ) - [F] —
fixed
— Cosine — ( Cos ) - [F] —
fixed
— Tangent — ( Tan ) - [F] —
fixed
— Arcsine — ( ASin ) - [F] —
fixed
— Arccosine — ( ACos ) - [F] —
fixed
— Arctangent From Deltas — ( ATan2 ) - [F] —
fixed
— Arctangent From Value — ( ATan )
# Examples
# mods/novastoryassets.sc2mod
// L4424
Tan((PointGetFacing(lv_targetWaypoints[lv_targetWaypointIndex]) + 90.0))
// L4424
Tan((PointGetFacing(lv_targetWaypoints[lv_targetWaypointIndex]) + 90.0))