<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShaderGraph-Docs",
  "identifier" : "/documentation/ShaderGraph/Math/Atan",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_MTL_atan_half"
  },
  "title" : "Atan"
}
-->

# Atan

The arctangent of the incoming value in radians.

## Parameter Types

**Inverse Tan (half):**

|Input     |Type|
                |----------|----|
                |`Y Over X`|Half|

|Output|Type|
                |------|----|
                |`Out` |Half|

**Inverse Tan (float):**

|Input     |Type |
                |----------|-----|
                |`Y Over X`|Float|

|Output|Type |
                |------|-----|
                |`Out` |Float|

**Inverse Tan (vector4h):**

|Input     |Type    |
                |----------|--------|
                |`Y Over X`|Vector4h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector4h|

**Inverse Tan (vector2f):**

|Input     |Type    |
                |----------|--------|
                |`Y Over X`|Vector2f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector2f|

**Inverse Tan (vector4f):**

|Input     |Type    |
                |----------|--------|
                |`Y Over X`|Vector4f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector4f|

**Inverse Tan (vector3h):**

|Input     |Type    |
                |----------|--------|
                |`Y Over X`|Vector3h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector3h|

**Inverse Tan (vector3f):**

|Input     |Type    |
                |----------|--------|
                |`Y Over X`|Vector3f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector3f|

**Inverse Tan (vector2h):**

|Input     |Type    |
                |----------|--------|
                |`Y Over X`|Vector2h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector2h|

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)