Home > blockly > clipboard > getLastCopiedLocation
clipboard.getLastCopiedLocation() function
Gets the location that was last copied from. This is useful if you are implementing custom copy/paste behavior. If you want the default behavior, just use the copy and paste methods directly.
Signature:
export declare function getLastCopiedLocation(): Coordinate | undefined;
Returns:
Coordinate | undefined
last saved location, or null if none set.