docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetActionIsActive

    GetActionIsActive(InputAction)

    Return the active state of the given action

    Declaration
    public static bool GetActionIsActive(InputAction inputAction)
    Parameters
    Type Name Description
    InputAction inputAction

    Input Action

    Returns
    Type Description
    bool

    True if the given action has any bindings that are active

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023