The Grip property stores the
Tool|Tool's Grip properties as a single
DataType/CFrame|CFrame. This includes the
The grip properties are used to position how the player holds the tool.
Unlike the grip properties that it stores, this property is not visible in a tool’s
Properties window in Studio. Regardless, it can be set and retrieved using a
In order to change a tool’s grip properties, you must either use a
LocalScript or a Studio plugin such as this one.
The code below insert’s a
Tool named “Stick” into the
BackPack. When the player pressed their left mouse button and activates the tool, the code prints the values of the tool’s grip properties.
local tool = Instance.new("Tool") tool.Name = "Stick" tool.Parent = game.Players.LocalPlayer.Backpack local handle = Instance.new("Part") handle.Name = "Handle" handle.Parent = tool handle.Size = Vector3.new(.1,3,.1) handle.Color = Color3.new(108, 88, 75) -- Brown tool.Activated:Connect(function() print(tool.Grip) print(tool.GripUp) print(tool.GripRight) print(tool.GripForward) print(tool.GripPos) end)