3 Ways to Move the Pivot to the Origin in Maya 2019

A lot of things are done best in Maya using pivots. And one of the most common pivots we need is the origin (0, 0, 0). On this tutorial you’ll learn how to move the pivot to the origin, each has its pros and cons. Take a look.
1. Resetting the object’s transformations
If you don’t care losing your object’s position, rotation and scaling information, this is the easiest and fastest way to do it. Don’t worry if you think your object will lose its parenting configuration because it won’t.
To reset the pivot to origin but also resetting the other transform attributes
- Press and hold W, click anywhere in the viewport and drag it to the left to choose the World Axis
orientation in the Move Tool marking menu.
- Select the object you want to modify
- Choose [Modify > Reset Transformations]
2. Typing in the value in the transform node using the Attributes Editor
If you not feeling like moving the pivot around using the mouse you can type the values.
To reset the pivot to origin using the keyboard
- Select the object you want to modify
- Open the Attributes Editor (Ctrl+A)
- Choose the transform tab (usually the first one)
- Type 0 in both local and world space values
3. Using the mouse, snapping to the grid
For completion this method of doing has been added too. This is the simplest way to do it.
- Be sure you’re in object mode (object and component mode can be toggled by pressing F8)
- Hold D and X, drag & drop the yellow marker to the center of the grid, it will snap.
4. (BONUS) Using a MEL command button (or shortcut)
This way of doing it has been added as a bonus simply because using scripts is sometimes felt like an overkill. But, if you see yourself doing this time and time again, creating a script and associating it with a new button in the shelf can save you some precious modeling time.
Running the command using a button
- Open the Script Editor [Windows > Script Editor]
- Type
xform -ws -a -piv 0 0 0;
in the input box - Save it to the shelf [File > Save Script to Shelf…]
- Enter an appropriate name, I suggest
Reset pivot to origin
Optionally you can also customize the icon and position of this button

Running the command using a shortcut
If you don’t mind spending a hotkey combination with this action you can do the following to create a shortcut for resetting the pivot to the origin
- Open the Hotkey Editor [Windows > Settings/Preference > Hotkey Editor]
- Select the Runtime Command Editor tab in the left pane
- Click New, type
xform -ws -a -piv 0 0 0;
in the big input box, give it a name and save. - Back in the right panel, click Choose a category… and choose Custom Scripts, assign a hotkey combination for it.
- Maya
- Pivot
- Shortcut