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.

Arguments:

Name Type Description Default Ver
displayScale real Added in version 14.0 14.0

Return value:

real
In 13.5.4 the width can be adjusted by the user in preferences, and this function will reflect that.

Search results

Usage of 'DisplayWidth' is found in the following scripts:

<< Back to M_Bone