GetPivot
Pivot of a Model (uses its PrimaryPart).
Syntax
:GetPivot() -> CFrame
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
CFrame | CFrame |
Description
GetPivot is part of the Instances library. Instances are live proxies backed by game memory. Property reads and method calls go through Roblox's own objects.
The call is read-only: it resolves the current value when invoked and does not change the underlying state.
Example
local model = workspace:FindFirstChildWhichIsA("Model")
print(model and model:GetPivot())
Notes
- Instance proxies are backed by live game memory.