# How to assign a specific weight to vertices? (instead of painting it)

I was wondering that in the weight painting mode, how can I set a specific weight for a certain group of vertices instead of painting it over them?

• You could use python to do this. What do you intend to use the weight for? Dec 2, 2014 at 13:55
• @ajwood, not sure what is the purpose of suggesting Python for this task. Dec 2, 2014 at 17:56
• @ideasman42, for visualizing scientific data, I often script vertex painting. I haven't come across a situation where I need to do the same with weight painting, but I bet it'll come up sooner or later. Dec 2, 2014 at 18:55
• @ideasman42, I've actually been wondering if weight painting can help me get around this bug to let me put hair over a huge mesh, with colors specified per-vertex.. will definitely need Python for that. Dec 2, 2014 at 18:57

Ah, I was fooling around and found an answer.

• In the weight painting mode, use the Vertex selection masking for painting V
• Select wanted vertices for example with Circle select tool C
• Set the wanted weight from Tool Shelf T
• Weights -> Set Weight Shift+K

• Nice! Very useful method I haven't heard of before. Dec 2, 2014 at 14:17

In 'Edit Mode' assign the desired vertex group and change their weight in 'Vertex Groups' panel. Enter the 'Weight Paint Mode' to see the result.

• Awesome, thanks! I can see a lot of uses for this method as well :D Dec 2, 2014 at 14:10
• I usually start off like this so I can select the portion of mesh using L and then apply a base weight. Its a good way to get in all the little nooks and crannies. Apr 7, 2017 at 4:32
• In Blender 2.79 at least, the role of the Assign button is to include the selected vertices in the group, if the they weren't already included in it, and to assign them the current value of the Weight selector. So to assign a weight to one or more given vertices in Edit mode or Weight Paint, the order of operations is rather 1/ Select a weight with the cursor, 2/ Select the vertices, 3/ Click Assign.
– mins
Jul 5, 2018 at 16:59