M_Skeleton:NearestBone(vec)
Version added: before 9.5
Returns the closest bone to a 2D vector position
Arguments:
| Name | Type | Description | Default | Ver |
| vec | Vector2 | A 2D position in the bone layer | < 9.5 |
Return value:
int32 bone identifier
Returns the closest bone to a 2D vector position.
Search results
Usage of 'NearestBone' is found in the following scripts:
Modified transform bone tool (Original Edition) by A.Evseeva
View Code