Unity Engine documentationScript ReferenceUnityEngineRigidbodyConstraints2DFreezePositionYFreeze motion along the Y-axis.Read time 1 minuteLast updated 12 days agoDefinition Type: Field Namespace: UnityEngine Assembly: UnityEngine.CoreModule FreezePositionY = 2