ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. detachElementFromBone

Function

detachElementFromBone

Server and clientMiscellaneousTrilogy Hub only

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)

See also