canMove property

bool canMove

True if this element can be moved interactively, false otherwise.

The value of InteractionConfiguration.allowMovingSelectedElement of the current GeometryEditor.tool determines this value. The element can be moved programmatically regardless of this value, for example using GeometryEditor.moveSelectedElement.

A GeometryEditorMidVertex is not part of the GeometryEditor.geometry state, and therefore can never be moved regardless of the InteractionConfiguration settings.

Implementation

bool get canMove {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeometryEditorElement_getCanMove(
      _handle,
      errorHandler,
    );
  });
}