PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

GripForward

Tool

Vector3

The GripForward properties is one of the properties that specifies a Tool’s orientation in a character’s hand. This represents the R02, R12, and R22 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/GripRight|Right, 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 Studio 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.