PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

GripRight

Tool

Vector3

The GripRight property is one of the properties that specifies a Tool|Tool's orientation in a character’s hand. This represents the R00, R10, and R20 values of the Grip DataType/CFrame|CFrame's rotation matrix.

Other tool properties that control how a player holds a tool include: Grip/GripUp|Up, Grip/GripForward|Forward, and Grip/GripPos|Pos properties. All of these properties are stored in a single CFrame in the Tool/Grip property.

In order to change a tool’s grip properties, you must either use a Script or LocalScript or a plugin such as this one.


Code Samples


Grip Stick

The code below insert’s a Tool named “Stick” into the Players/LocalPlayer|LocalPlayer's BackPack. When the player pressed their left mouse button and activates the tool, the code prints the values of the tool’s grip properties.