docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    On Key Down

    The On Key Down event node is triggered when the user press the chosen key from the visual scripting inspector. This event will process only one time.

    Ports

    Inputs

    Port Name Type Default Value Description
    [Boolean] True If Enabled is set to true (Checked), the On Key event will be triggered when the user press/hold or release a key.

    Outputs

    Port Name Type Default Value Description
    Trigger When the user key is in the good state, this port will trigger the next action you want to execute by connecting it to any Input Execution Flow port.
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)