How to get the X,Y and Z values of a CFrame

Hello, i have q uestion. Is their a way to get a parts X, Y and z CFrames? Lets say i want part a to go to part b’s Y CFrame, so they are at the same height. And i want to keep the other CFrames the same(their x and z), how would i do this.

2 Likes

use CFrame.Position to get the X,Y,Z of the CFrame.

4 Likes