docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Not node

    The Not node outputs the opposite of an input. If the input is true the output is false, otherwise the output is true. This node is useful for branching.

    Ports

    Name Direction Type Binding Description
    In Input Boolean None The input value.
    Out Output Boolean None The opposite of In.

    Generated code example

    The following example code represents one possible outcome of this node.

    Out = !In;
    
    In This Article
    Back to top
    Copyright © 2025 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)