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.
<< Back to MohoView