---
title: Distance Square (RealityKit)
framework: shadergraph
role: symbol
role_heading: ShaderGraph Node
path: shadergraph/math/distance-square-(realitykit)
---

# Distance Square (RealityKit)

Returns the square of the distance between X and Y.

## Parameter Types

Parameter Types
