Learn
Engine Class
PVInstance
Not Creatable
Not Browsable

Summary
Methods
PivotTo(targetCFrame: CFrame):()
Inherited Members
Inherited by

API Reference
Properties
Origin
Not Replicated
Not Scriptable
Read Parallel
PVInstance.Origin:CFrame

Pivot Offset
Not Replicated
Not Scriptable
Read Parallel
PVInstance.Pivot Offset:CFrame

Methods
GetPivot
Write Parallel
Simulation Access
PVInstance:GetPivot():CFrame
Returns
Code Samples
Simple Character Teleportation
-- This code should be placed in a LocalScript under StarterPlayerScripts
local Players = game:GetService("Players")
local ContextActionService = game:GetService("ContextActionService")
local player = Players.LocalPlayer
local function doTeleport(_actionName, inputState, _inputObject)
local character = player.Character
if character and character.Parent and inputState == Enum.UserInputState.Begin then
-- Move the character 10 studs forwards in the direction they're facing
local currentPivot = character:GetPivot()
character:PivotTo(currentPivot * CFrame.new(0, 0, -10))
end
end
ContextActionService:BindAction("Teleport", doTeleport, true, Enum.KeyCode.F)

PivotTo
Simulation Access
PVInstance:PivotTo(targetCFrame:CFrame):()
Parameters
targetCFrame:CFrame
Returns
()
Code Samples
Simple Character Teleportation
-- This code should be placed in a LocalScript under StarterPlayerScripts
local Players = game:GetService("Players")
local ContextActionService = game:GetService("ContextActionService")
local player = Players.LocalPlayer
local function doTeleport(_actionName, inputState, _inputObject)
local character = player.Character
if character and character.Parent and inputState == Enum.UserInputState.Begin then
-- Move the character 10 studs forwards in the direction they're facing
local currentPivot = character:GetPivot()
character:PivotTo(currentPivot * CFrame.new(0, 0, -10))
end
end
ContextActionService:BindAction("Teleport", doTeleport, true, Enum.KeyCode.F)

©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.