M_Bone:DisplayWidth(displayScale)

Version added: 13.5.3

Tells scripts how wide a particular bone will be displayed on screen. Takes into account the scaling of the layer, overall canvas zoom, etc.

ArgumentTypeDescriptionDefaultVer
displayScalerealAdded in version 14.014.0

Return type: real

In 13.5.4 the width can be adjusted by the user in preferences, and this function will reflect that.
String "DisplayWidth" is found in the following scripts:

MR Transform Rig Tool (by eugenebabich)

SS - Virtual Bones (by simplsam)

See all...