ScriptInterface:Skeleton()

Version added: before 9.5
Returns the skeleton object associated with the current layer

Return value:

M_Skeleton a skeleton object
Returns the skeleton object associated with the current layer. If the current layer is not a bone layer, this function returns nil.

Note: This method will also return a Skeleton for empty Bone Layers, Switch Layers and FBF Layers - if they are the currently selected layer.
<< Back to ScriptInterface