File: SelectionHelper.md | Updated: 11/15/2025
A helper for SelectionBox.
It visualizes the current selection box with a div container element.
SelectionHelper is an addon, and must be imported explicitly, see Installation#Addons.
import { SelectionHelper } from 'three/addons/interactive/SelectionHelper.js';
Constructs a new selection helper.
renderer | The renderer.
---|---
cssClassName | The CSS class name of the div.
The visualization of the selection box.
Whether helper is enabled or not.
Default is true.
Whether the mouse or pointer is pressed down.
Default is false.
A reference to the renderer.
Call this method if you no longer want use to the controls. It frees all internal resources and removes all event listeners.