📄 threejs/Core/Helpers/SkeletonHelper

File: SkeletonHelper.md | Updated: 11/15/2025


title: SkeletonHelper category: Core layout: docs

SkeletonHelper

A helper object to assist with visualizing a Skeleton.

Code Example

const helper = new THREE.SkeletonHelper( skinnedMesh );
scene.add( helper );

Constructor

new SkeletonHelper( object : Object3D )

Constructs a new skeleton helper.

object | Usually an instance of SkinnedMesh. However, any 3D object can be used if it represents a hierarchy of bones (see Bone).
---|---

Properties

.bones : Array.<Bone>

The list of bones that the helper visualizes.

.isSkeletonHelper : boolean (readonly)

This flag can be used for type testing.

Default is true.

.root : Object3D

The object being visualized.

Methods

.dispose()

Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.

.setColors( color1 : Color, color2 : Color ) : SkeletonHelper

Defines the colors of the helper.

color1 | The first line color for each bone.
---|---
color2 | The second line color for each bone.

Returns: A reference to this helper.

Source

src/helpers/SkeletonHelper.js