- Documentation
- Shared functions
- detachElementFromBone
Function
detachElementFromBone
Detaches an element attached to a bone with attachElementToBone. The element goes back to its own position (the one from setElementPosition), so if it should stay where the hand was, set its position before detaching.
Syntax
bool detachElementFromBone(element theElement)Arguments
theElementelement- The element.
Returns
true on success.
Example
detachElementFromBone(box)