Skip to main content

Interface: SelectionManagerOptions

Defined in: interaction/SelectionManager.ts:19

Options for configuring the SelectionManager.

Properties

boxSelectColor?

optional boxSelectColor: string

Defined in: interaction/SelectionManager.ts:27

Color of the box selection overlay. Defaults to '#58C4DD' (manim blue).


boxSelectOpacity?

optional boxSelectOpacity: number

Defined in: interaction/SelectionManager.ts:25

Opacity of the box selection overlay. Defaults to 0.15.


highlightColor?

optional highlightColor: string

Defined in: interaction/SelectionManager.ts:21

Color of the selection highlight outline. Defaults to '#FFFF00' (yellow).


highlightWidth?

optional highlightWidth: number

Defined in: interaction/SelectionManager.ts:23

Width of the selection highlight outline. Defaults to 2.


onSelectionChange()?

optional onSelectionChange: (selected) => void

Defined in: interaction/SelectionManager.ts:29

Callback when selection changes.

Parameters

selected

ReadonlySet<Mobject>

Returns

void