UEditorEngine::CopySelectedActorsToClipboard

Copies selected actors to the clipboard.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorServer.cpp

Syntax

void CopySelectedActorsToClipboard
(
    UWorld * InWorld,
    const bool bShouldCut,
    const bool bIsMove,
    bool bWarnAboutReferences
)

Remarks

Copies selected actors to the clipboard. Supports copying actors from multiple levels. NOTE: Doesn't support copying prefab instance actors!

Parameters

Parameter

Description

InWorld

World to get the selected actors from

bShouldCut

If true, deletes the selected actors after copying them to the clipboard

bIsMove

If true, this cut is part of a move and the actors will be immediately pasted

bWarnAboutReferences

Whether or not to show a modal warning about referenced actors that may no longer function after being moved

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss