How to check if a part's z axis is the same as another part's

basically this

if Part1.Position = Part2.Position then

but i only want to check the Z axis and not the X and Y

1 Like

Change Part1.Position and Part2.Position to Part1.Position.Z and Part2.Position.Z

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.