Change Color Key without Plugin (Maya 2025)
Hi everyone,
Here’s a small tip that can really improve your animation workflow in Maya.
With these scripts, you’ll be able to use different colors for your animation keys, making your workflow cleaner and easier to read.
I’m also sharing the scripts along with the setup process to integrate them into your shelves.
- Go to Windows > Preferences > Color Settings > Time Slider and change Tick Special to blue.
- Copy and paste one of the scripts into the Python Script Editor.
- Select the script text and drag & drop it into your Anim Shelf (repeat this step for each script).
- Right-click each newly created shelf button, go to Edit, and customize the icon if needed.
- Very important: click Save Shelves so your shelf buttons remain saved after restarting Maya.
I’ve also attached the tutorial video, and here are the scripts :
-Red color :
import maya.cmds as cmds
# RED KEY
cmds.setKeyframe()
-Green Color :
import maya.cmds as cmds
# GREEN KEY
cmds.setKeyframe(breakdown=True)
-Blue Color :
import maya.cmds as cmds
# BLUE KEY
cmds.setKeyframe()
t = cmds.currentTime(query=True)
cmds.selectKey(clear=True)
cmds.selectKey(add=True, k=True, t=(t, t))
cmds.keyframe(edit=True, tds=True)