Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 6 revisions

Blitz3DBlitzPlusBlitzBasic

ATan

ATan:Float32 float:Float32
Parameter Mode Type Default Description
float In Float32 required The tangent.

Returns: The angle in degrees.

Description

Returns the angle whose tangent is the given number, in degrees from -90 to 90. When you have both sides of the triangle, ATan2 is usually the better choice because it knows which quadrant the angle is in.

Examples

Print ATan(1)
45.0

Related Commands

ACos, ASin, ATan2, Tan

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally