pickedUpElement property
The element that an attached ReticleTool has picked up in order to move it.
This will be null if the current GeometryEditor.tool is not the ReticleTool or nothing is picked up. The picked up element can be a GeometryEditorVertex or a GeometryEditorMidVertex. Only one element can be picked up at a time. The value of GeometryEditor.pickedUpElement changes, raising the GeometryEditor.onPickedUpElementChanged event, when:
- an element is picked up or dropped using a tap interaction with the ReticleVertexTool
- an element is picked up using ProgrammaticReticleTool.pickUpSelectedElement
- an element is dropped using ProgrammaticReticleTool.placeElementAtReticle It may also change when:
- undoing or redoing edits using GeometryEditor.undo or GeometryEditor.redo. This will clear the current picked up element.
- canceling the current action using GeometryEditor.cancelCurrentAction
- programmatically selecting another element with the geometry editor - for example, using GeometryEditor.selectGeometry or GeometryEditor.selectVertex
- stopping the geometry editor using GeometryEditor.stop
- changing the GeometryEditor.tool