Quick Question What does .p do?

In this script I found, it creates a Part from a Handle. But the Cframe has a “.p” at the end, what does that do?

handle.CFrame * CFrame.new(5, 0, 0).p
1 Like

It just returns the vector3 position property of a CFrame

4 Likes

In more details, it returns the X, Y, Z of the current position of the CFrame formed into a vector3.

3 Likes

It’s the deprecated version of the .Position property of a CFrame.

9 Likes