<!--
{
  "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/Adjustment/Step-(RealityKit)",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_realitykit_step_float"
  },
  "title" : "Step (RealityKit)"
}
-->

# Step (RealityKit)

Outputs a 1 or a 0 depending on whether the input is greater than or less than the edge value.

## Overview

0 if X < Edge, otherwise it returns 1.0

## Parameter Types

**Step (float):**

|Input |Type |
                |------|-----|
                |`In`  |Float|
                |`Edge`|Float|

|Output|Type |
                |------|-----|
                |`Out` |Float|

**Step (vector3h):**

|Input |Type    |
                |------|--------|
                |`In`  |Vector3h|
                |`Edge`|Vector3h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector3h|

**Step (half):**

|Input |Type|
                |------|----|
                |`In`  |Half|
                |`Edge`|Half|

|Output|Type|
                |------|----|
                |`Out` |Half|

**Step (vector4h):**

|Input |Type    |
                |------|--------|
                |`In`  |Vector4h|
                |`Edge`|Vector4h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector4h|

**Step (vector2f):**

|Input |Type    |
                |------|--------|
                |`In`  |Vector2f|
                |`Edge`|Vector2f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector2f|

**Step (color4f):**

|Input |Type         |
                |------|-------------|
                |`In`  |Color4<Float>|
                |`Edge`|Color4<Float>|

|Output|Type         |
                |------|-------------|
                |`Out` |Color4<Float>|

**Step (vector3f):**

|Input |Type    |
                |------|--------|
                |`In`  |Vector3f|
                |`Edge`|Vector3f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector3f|

**Step (color3f):**

|Input |Type         |
                |------|-------------|
                |`In`  |Color3<Float>|
                |`Edge`|Color3<Float>|

|Output|Type         |
                |------|-------------|
                |`Out` |Color3<Float>|

**Step (vector4f):**

|Input |Type    |
                |------|--------|
                |`In`  |Vector4f|
                |`Edge`|Vector4f|

|Output|Type    |
                |------|--------|
                |`Out` |Vector4f|

**Step (vector2h):**

|Input |Type    |
                |------|--------|
                |`In`  |Vector2h|
                |`Edge`|Vector2h|

|Output|Type    |
                |------|--------|
                |`Out` |Vector2h|

## Parameter descriptions

- `In`: The input value.
- `Edge`: The deciding value to which to compare the input.

## Discussion

The Step node takes the `In` value and compares it to the `Edge` parameter. If the value is less than `Edge`, the node returns `0`. Otherwise, it returns `1`.

---

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)