• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 日本語
Maya Creative
    • What's New in Maya 2026
    • Maya 2026 Release Notes
    • Maya Installation Help
    • Getting Started
    • Basics
    • Managing Scenes, Files, and Projects
    • Interoperability
    • USD for Maya
    • Modeling
    • Animation
    • Character Animation
    • Motion Graphics
    • Lighting and Shading
    • LookdevX
    • Rendering
    • Arnold for Maya
    • Customizing Maya Creative
    • Environment Variables
    • Keyboard Shortcuts
    • Scripting
      • Scripting
      • Script Editor
      • MEL and Expressions
        • MEL Overview
        • Run MEL commands
        • Values and variables
        • Arrays, vectors, and matrices
        • Good MEL style
        • Controlling the flow of a script
        • Attributes
        • Procedures
        • Animation expressions
        • I/O and user interaction
        • Debugging, optimizing, and troubleshooting
        • Creating interfaces
        • MEL script nodes
        • Advanced MEL programming
        • Advanced animation expressions topics
        • MEL Command Syntax
        • Useful functions
          • Limit functions
          • Exponential functions
          • Trigonometric functions
            • cos
            • cosd
            • sin
            • sind
            • tan
            • tand
            • acos
            • acosd
            • asin
            • asind
            • atan
            • atand
            • atan2
            • atan2d
            • hypot
          • Vector functions
          • Conversion functions
          • Array functions
          • Random number functions
          • Curve functions
          • General commands
        • FAQ on MEL
        • Example scripts
        • MEL Windows and Editors
      • Python
      • Dash
      • Running venv with mayapy
    • Technical Documentation
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    atan

    Returns the radian value of the arc tangent of a number. The arc tangent is the angle whose tangent is the specified number. The returned value is from -pi/2 to pi/2.

    float atan(float number)

    number is the tangent of the angle and can be any value.

    Example

    atan(1)
    

    Returns 0.785.

    Parent topic: Trigonometric functions

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved