Page tree
Skip to end of metadata
Go to start of metadata

Move the selected absolute position image or video.


Parameters:

NameTypeDescription
actionNameString'moveAbsolutePositionDrawingObject' image or video layer moving API
movePositionObject

{ x: {Number}, y: {Number} }

Position to move


Example:

editor.execCommand('moveAbsolutePositionDrawingObject', { x: 100, y: 100 });  // move to 100,100 
  • No labels