MohoView:PickBone(where, clickVec, layer, exact, pickWidth, ignoreBone)
Version added: before 9.5
Arguments:
Name | Type | Description | Default | Ver |
where | Point | Pixel location on the screen | < 9.5 | |
clickVec | Vector2 | Vector location of the click | < 9.5 | |
layer | MohoLayer | The bone layer you wish to pick from | < 9.5 | |
exact | bool | True if only exact picks are accepted, false if the closest bone can be clicked even if not exact | < 9.5 | |
pickWidth | int32 | 3 | < 9.5 | |
ignoreBone | int32 | Added in version 12 | -1 | 12.0 |
Return value:
int32 id of the picked bone
Picks a bone near the given pixel location.
Search results
Usage of 'PickBone' is found in the following scripts:
Move Targeted Joint (Original Edition) by eugenebabich
View Code
Modified transform bone tool (Original Edition) by A.Evseeva
View Code
MR Track Bone (Original Edition) by eugenebabich
View Code
Bone Constraints Helper (Original Edition) by Danfield
View Code
Create Limb (Original Edition) by Danfield
View Code
MR Transform Rig Tool (Original Edition) by eugenebabich
View Code
Create Limb 2 (Original Edition) by Danfield
View Code
MR Bake Bone Dynamics (Moho 13.5 Edition) by eugenebabich
View Code
MR Bake Bone Dynamics (Moho 14 Edition) by eugenebabich
View Code