---
tags:
    - "Button"
    - "Key"
    - "Up"
    - "Just"
    - "Cancel"
---

# Input Action Released this Frame

[Input](index.md) / **Input Action Released this Frame**

<div class="grid cards" markdown>

* :green_circle: Can Read

* :red_circle: Cannot Write

</div>

## Description

Returns true the frame the specified Input Action is released

## Code

```cs
using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]

    [Title("Input Action Released this Frame")]
    [Category("Input/Input Action Released this Frame")]

    [Description("Returns true the frame the specified Input Action is released")]
    [Image(typeof(IconBoltOutline), ColorTheme.Type.Teal, typeof(BadgeArrowUp))]

    [Keywords("Button", "Key", "Up", "Just", "Cancel")]

    [Serializable]
    public class TypeBoolInputActionReleaseThisFrame : TypeBool
    {
        [SerializeField] private InputActionFromAsset m_InputAction = new InputActionFromAsset();

        public override bool Get(Args args)
        {
            UnityEngine.InputSystem.InputAction inputAction = this.m_InputAction.InputAction;
            return inputAction?.WasReleasedThisFrame() ?? false;
        }

        public override string ToString()
        {
            return $"Released {this.m_InputAction}";
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}

```

