Skip to main content

blockly > MoveIndicator

MoveIndicator class

Four-way arrow indicator attached to a workspace element to indicate that it is being moved.

Signature:

export declare class MoveIndicator

Constructors

Constructor

Modifiers

Description

(constructor)(workspace)

Creates a new move indicator.

Properties

Property

Modifiers

Type

Description

svgRoot

SVGGElement

Root SVG element for the indicator.

Methods

Method

Modifiers

Description

dispose()

Disposes of this move indicator.

moveTo(x, y)

Moves this indicator to the specified location.