blockly > Cursor

Cursor class

Class for a cursor. A cursor controls how a user navigates the Blockly AST.

Signature:

export declare class Cursor extends Marker 

Extends: Marker

Constructors

Constructor Modifiers Description
(constructor)() Constructs a new instance of the Cursor class

Properties

Property Modifiers Type Description
type string

Methods

Method Modifiers Description
in() Find the in connection or field.
next() Find the next connection, field, or block.
out() Find the out connection, field, or block.
prev() Find the previous connection, field, or block.