<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShaderGraph-Docs",
  "identifier" : "/documentation/ShaderGraph/Logic/Or-(RealityKit)",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_realitykit_logical_or"
  },
  "title" : "Or (RealityKit)"
}
-->

# Or (RealityKit)

Boolean operation in1 || in2.

## Parameter Types

|Input |Type|
        |------|----|
        |`In 1`|Bool|
        |`In 2`|Bool|

|Output|Type|
        |------|----|
        |`Out` |Bool|

## Discussion

This node mimics the logical `Or` operator; the table shows the node’s output:

|In1  |In2  |Out  |
|-----|-----|-----|
|True |True |True |
|True |False|True |
|False|True |True |
|False|False|False|

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)