The item index. The valid range on default is [0..NumEditorInfoBones + NumEditorInfoCurves - 1]. The curves are attached after the bones. So if you have 10 bones, and 5 curves, and the MaskItemIndex is value 12, it will draw the mask for the third curve, because items [0..9] would be for the bones, and [10..14] for the curves.