Body, Mind & Soul — API Reference
    Preparing search index...

    Function getHitchGroup

    • Return every token in the same group as tokenDoc. Membership is read from the token's scene (tokenDoc.parent.tokens) and matched on groupId. The token itself is always included when it is hitched.

      Parameters

      • tokenDoc: TokenDocument

        A hitched token.

      Returns TokenDocument[]

      The group members in the same scene, or an empty array if tokenDoc is not hitched.