# Add Custom classes to Editor Quick Pick "Place Mode" (Actor Factory?)

**URL:** <https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [April 30, 2015, 12:35pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862 "2015-04-30T12:35:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![IrishKilter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IrishKilter](https://forums.unrealengine.com/u/IrishKilter)\
**Post date:** [April 30, 2015, 12:35pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/1 "2015-04-30T12:35:31Z")

</div>

I’ve been looking around for a little while now for the ability to add my own custom classes onto the left hand “Place” section under the modes tab

![88d0b31fc44aaeeea80944e2c4ee05b597c178d4.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

In UDK you could add ActorFactories that would allow you to place classes in the Right-Click menu, and I know in UE4 you can modify an ini file to add custom Blueprint parent classes for quick selection, so I imagine there is a way you can do this!

Thanks for any information you have.

---

<div class="post-metadata">

**Author:** ![IrishKilter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IrishKilter](https://forums.unrealengine.com/u/IrishKilter)\
**Post date:** [November 1, 2015, 1:10pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/2 "2015-11-01T13:10:03Z")

</div>

Just bumping this instead of asking it all over again.

Haven’t really been successful getting anything to appear in here. Found some ActorFactory classes, but they didn’t appear to do anything for me.

---

<div class="post-metadata">

**Author:** ![kamrann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kamrann](https://forums.unrealengine.com/u/kamrann)\
**Post date:** [November 2, 2015, 11:32am UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/3 "2015-11-02T11:32:15Z")

</div>

Just had a look through the engine source and everything about this section of the UI is hard coded - both the placement categories, and the lists of classes in the categories. It doesn’t look like it’s extensible or customizable at all.

This is not in keeping with how the editor is done as a whole, so it might be worth suggesting it as a feature request. Still, for now I think you’re out of luck, short of modding the engine.

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [November 2, 2015, 12:52pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/4 "2015-11-02T12:52:10Z")

</div>

I’m sure there’s a UPROPERTY or UCLASS macro specifier for this… could be wrong.

---

<div class="post-metadata">

**Author:** ![IrishKilter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IrishKilter](https://forums.unrealengine.com/u/IrishKilter)\
**Post date:** [November 4, 2015, 2:43pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/5 "2015-11-04T14:43:59Z")

</div>

I’d rather not modify the engine for something so trivial. Especially since all that is needed to add a “Blueprint Parent Selection” to the “quick-pick” list is just an .ini edit.

I’ll check into some of the macros, but I don’t remember seeing any of the classes that appear having any, or even anything in the macro’s documentations.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9ea5b3b0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9ea5b3b0](https://forums.unrealengine.com/u/anonymous_user_9ea5b3b0)\
**Post date:** [November 13, 2018, 5:22pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/6 "2018-11-13T17:22:22Z")

</div>

Bump! I need to do this as well 🙂

---

<div class="post-metadata">

**Author:** ![LNaej](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LNaej](https://forums.unrealengine.com/u/LNaej)\
**Post date:** [April 4, 2019, 11:25am UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/7 "2019-04-04T11:25:08Z")

</div>

It seems that you need to go through the IPlacementModeModule interface and its RegisterPlacementCategory() method. You can take a look at PlacementModeModule.cpp::StartupModule() method to see how the method is used.

---

<div class="post-metadata">

**Author:** ![Juice-Tin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/juice-tin/32/1008648_2.png) [@Juice-Tin](https://forums.unrealengine.com/u/Juice-Tin)\
**Post date:** [April 5, 2019, 5:12am UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/8 "2019-04-05T05:12:30Z")

</div>

All of my blueprints automatically appear under the “All Classes” section, so it’s possible you only need to do a minor change for them to show up in the other categories.

[![](https://i.gyazo.com/cced716d28fd0f5728c350f87e5b1c71.png) ](https://i.gyazo.com/cced716d28fd0f5728c350f87e5b1c71.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d4aadacc1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d4aadacc1](https://forums.unrealengine.com/u/anonymous_user_d4aadacc1)\
**Post date:** [October 9, 2019, 1:08pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/9 "2019-10-09T13:08:50Z")

</div>

I find a way to add your custom actor to existing category:

1. At first you need Editor module, reimplement UUnrealEdEngine::Init() method and add your actor factory in desired category (as LNaej sad try RegisterPlacementCategory() to create a new one instead).

```auto

Super::Init ( InEngineLoop );
IPlacementModeModule& PlacementModule = IPlacementModeModule::Get();
    PlacementModule.RegisterPlaceableItem(
        FBuiltInPlacementCategories::Lights(),
        MakeShareable(new FPlaceableItem(*UActorFactoryMyActor::StaticClass(), 60))
    );

```

UActorFactoryMyActor class is simple:

```auto

UCLASS(config=Editor)
class MYEDITOR_API UActorFactoryMyActor : public UActorFactory
{
    GENERATED_UCLASS_BODY()

};

#include "Internationalization.h"

#define LOCTEXT_NAMESPACE "ActorFactory"

UActorFactoryMyActor::UActorFactoryMyActor(const FObjectInitializer& ObjectInitializer)
    : Super(ObjectInitializer)
{
    DisplayName = LOCTEXT("MyActorDisplayName", "My Awesome Actor");
    NewActorClass = AMyActor::StaticClass();
    SpawnPositionOffset = FVector(50, 0, 0);
    bUseSurfaceOrientation = true;
}

```

---

<div class="post-metadata">

**Author:** ![Vaei](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaei/32/710746_2.png) [@Vaei](https://forums.unrealengine.com/u/Vaei)\
**Post date:** [November 30, 2019, 9:11pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/10 "2019-11-30T21:11:11Z")

</div>

…And how do you draw the rest of the owl?

Where do you reimplement UUnrealEdEngine::Init()?

I put it in startup module instead because that made sense but it simply doesn’t show up. Oh well.

---

<div class="post-metadata">

**Author:** ![DennG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DennG](https://forums.unrealengine.com/u/DennG)\
**Post date:** [April 30, 2020, 1:12pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/11 "2020-04-30T13:12:03Z")

</div>

Bump. I need this too.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d4aadacc1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d4aadacc1](https://forums.unrealengine.com/u/anonymous_user_d4aadacc1)\
**Post date:** [September 1, 2021, 1:49pm UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/13 "2021-09-01T13:49:33Z")

</div>

Sorry I forgot to mention important settings:

1. Create Editor Module;
2. In this module inherit UUnrealEdEngine class;
3. Reimplement Init() method (see my first post for body)
4. In DefaultEngine.ini configuration file in section  
[/Script/Engine.Engine]  
add  
UnrealEdEngine=/Script/.

---

<div class="post-metadata">

**Author:** ![uuiidd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@uuiidd](https://forums.unrealengine.com/u/uuiidd)\
**Post date:** [March 2, 2022, 2:55am UTC](https://forums.unrealengine.com/t/add-custom-classes-to-editor-quick-pick-place-mode-actor-factory/28862/14 "2022-03-02T02:55:05Z")

</div>

use FPlacementCategoryInfo and IPlacementModeModule::Get().RegisterPlaceableItem()
