# \#actor-class

**URL:** https://forums.unrealengine.com/tag/actor-class/10800.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Get all actor of class with more than one objects](https://forums.unrealengine.com/t/get-all-actor-of-class-with-more-than-one-objects/2432575)

<div class="topic-metadata">

**Author:** [@Dr.Raven](https://forums.unrealengine.com/u/Dr.Raven)\
**Replies:** 2\
**Last updated:** [March 31, 2025, 8:31pm UTC](https://forums.unrealengine.com/t/get-all-actor-of-class-with-more-than-one-objects/2432575 "2025-03-31T20:31:31Z")

</div>

Hello everyone! I’ve run into the problem in my project that no matter how much I call Get all actor of class and then For each loop, it only marks one dropped object and not all of them. (in short, it’s a scanner that m…

---

## [how to get selected entry in scrollbox?](https://forums.unrealengine.com/t/how-to-get-selected-entry-in-scrollbox/489281)

<div class="topic-metadata">

**Author:** [@Flame](https://forums.unrealengine.com/u/Flame)\
**Replies:** 4\
**Last updated:** [August 2, 2023, 3:12pm UTC](https://forums.unrealengine.com/t/how-to-get-selected-entry-in-scrollbox/489281 "2023-08-02T15:12:05Z")

</div>

hi everyone so i am trying to make an inventory list using a scroll box to put all my objects in inventory as a “button” and when i click on it, it displays the proper image, item description on the parent widget. Howev…

---

## [Setting Spawn Actor Class at Runtime](https://forums.unrealengine.com/t/setting-spawn-actor-class-at-runtime/1233822)

<div class="topic-metadata">

**Author:** [@bdigen\_nike](https://forums.unrealengine.com/u/bdigen_nike)\
**Replies:** 0\
**Last updated:** [July 19, 2023, 4:08pm UTC](https://forums.unrealengine.com/t/setting-spawn-actor-class-at-runtime/1233822 "2023-07-19T16:08:24Z")

</div>

Is it possible to set the Actor Class for the Spawn Actor from Class method dynamically? I am using the chunk downloader to import assets at runtime and I want to use one blueprint to handle rendering all the different a…

---

## [Where can I find documentation on indestructible actors?](https://forums.unrealengine.com/t/where-can-i-find-documentation-on-indestructible-actors/484304)

<div class="topic-metadata">

**Author:** [@Foxernator](https://forums.unrealengine.com/u/Foxernator)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 4:59am UTC](https://forums.unrealengine.com/t/where-can-i-find-documentation-on-indestructible-actors/484304 "2022-12-06T04:59:00Z")

</div>

First time posting a question, apologies if I have done anything wrong in the question posting. My problem is when I try to destroy actors as part of a multiplayer game, using a raycast to hit a health variable down to …

---

## [Actor always spawns at 0,0,0 no matter what](https://forums.unrealengine.com/t/actor-always-spawns-at-0-0-0-no-matter-what/453716)

<div class="topic-metadata">

**Author:** [@PerCat](https://forums.unrealengine.com/u/PerCat)\
**Replies:** 9\
**Last updated:** [October 19, 2022, 7:23pm UTC](https://forums.unrealengine.com/t/actor-always-spawns-at-0-0-0-no-matter-what/453716 "2022-10-19T19:23:55Z")

</div>

It’s just a spawn actor from class, the transform is the origin of the bp spawning it’s bounds. If I do a print string it says it’s in the right location except I can physically see that it isn’t.

---

## [Actor/Structure Key Spawn](https://forums.unrealengine.com/t/actor-structure-key-spawn/491288)

<div class="topic-metadata">

**Author:** [@WBoden](https://forums.unrealengine.com/u/WBoden)\
**Replies:** 3\
**Last updated:** [November 25, 2021, 8:54am UTC](https://forums.unrealengine.com/t/actor-structure-key-spawn/491288 "2021-11-25T08:54:41Z")

</div>

Hey there, I’ve set up units with key variables with actors for the characters and structure for character stats. This is to connect the units level or whatever stats they have to start off with. This also helps with ad…

---

## [Attach actor C++ class with it's mesh to socket with c++](https://forums.unrealengine.com/t/attach-actor-c-class-with-its-mesh-to-socket-with-c/490630)

<div class="topic-metadata">

**Author:** [@GigiK-K-K](https://forums.unrealengine.com/u/GigiK-K-K)\
**Replies:** 2\
**Last updated:** [November 17, 2021, 11:35am UTC](https://forums.unrealengine.com/t/attach-actor-c-class-with-its-mesh-to-socket-with-c/490630 "2021-11-17T11:35:35Z")

</div>

I;m trying to do something simple, attach an actor with it’s mesh to the default character skeleton with c++ There are no clear simple tutorials anywhere to follow my simple example so I decided to ask here. How would …

---

## [Attach Widget Component to Child Actor](https://forums.unrealengine.com/t/attach-widget-component-to-child-actor/490585)

<div class="topic-metadata">

**Author:** [@Boscox](https://forums.unrealengine.com/u/Boscox)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 12:50pm UTC](https://forums.unrealengine.com/t/attach-widget-component-to-child-actor/490585 "2021-11-04T12:50:39Z")

</div>

I’m trying to attach a Widget Component to a Child Actor (that is Set with SetChildActorClass) through blueprint using the AttachComponentToComponent and Snapping to target that doesn’t finally work I’m wanting the Widg…

---

## [Actor class crashes the editor on Play](https://forums.unrealengine.com/t/actor-class-crashes-the-editor-on-play/490379)

<div class="topic-metadata">

**Author:** [@jmancoder1](https://forums.unrealengine.com/u/jmancoder1)\
**Replies:** 1\
**Last updated:** [October 29, 2021, 7:21pm UTC](https://forums.unrealengine.com/t/actor-class-crashes-the-editor-on-play/490379 "2021-10-29T19:21:14Z")

</div>

Whenever I play a scene with this C++ class, the editor crashes. I have found no errors in my code, yet it still crashes with an “EXCEPTION\_ACCESS\_VIOLATION”. Could someone please explain why this is occurring? Here is t…

---

## [Add Custom C++ Class to Place Actors Categories](https://forums.unrealengine.com/t/add-custom-c-class-to-place-actors-categories/469263)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3f8e5b871](https://forums.unrealengine.com/u/anonymous_user_3f8e5b871)\
**Replies:** 3\
**Last updated:** [September 11, 2021, 8:09pm UTC](https://forums.unrealengine.com/t/add-custom-c-class-to-place-actors-categories/469263 "2021-09-11T20:09:38Z")

</div>

Is it easily possible to add a custom Actor class that I made to, say, the “Basic” category in the Place Actors window? My Actor does not really need subclasses so when spawning them in the level it makes more sense for…

---

## [Actor components hidden in viewport and actor visibilty disabled when placed in level. Why?](https://forums.unrealengine.com/t/actor-components-hidden-in-viewport-and-actor-visibilty-disabled-when-placed-in-level-why/488037)

<div class="topic-metadata">

**Author:** [@DiegoAce](https://forums.unrealengine.com/u/DiegoAce)\
**Replies:** 2\
**Last updated:** [August 28, 2021, 7:04pm UTC](https://forums.unrealengine.com/t/actor-components-hidden-in-viewport-and-actor-visibilty-disabled-when-placed-in-level-why/488037 "2021-08-28T19:04:36Z")

</div>

I have a blueprint class who’s parent is the default created third-person character c++ class. When viewing the blueprint’s viewport, all of the components are hidden. “Hidden in Game” is false and “Visible” is true for …

---

## [\[C++\]how to get a umg component reference from an umg i created in c++ and extended in bp](https://forums.unrealengine.com/t/c-how-to-get-a-umg-component-reference-from-an-umg-i-created-in-c-and-extended-in-bp/487683)

<div class="topic-metadata">

**Author:** [@R4v3n77](https://forums.unrealengine.com/u/R4v3n77)\
**Replies:** 3\
**Last updated:** [August 23, 2021, 10:07am UTC](https://forums.unrealengine.com/t/c-how-to-get-a-umg-component-reference-from-an-umg-i-created-in-c-and-extended-in-bp/487683 "2021-08-23T10:07:09Z")

</div>

Hi, im trying to make a 3d scrollbox which i will fill on c++ during runtime. i created a umg in c++ named “TabletScreen” with UPROPERTY(meta = (BindWidget)) class UScrollBox\* mScrollBox; UPROPERTY(meta = (BindWidg…

---

## [子アクターを複数配置し一括でアニメーションを切り替えたい](https://forums.unrealengine.com/t/topic/487689)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7858a6d01](https://forums.unrealengine.com/u/anonymous_user_7858a6d01)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 4:31am UTC](https://forums.unrealengine.com/t/topic/487689 "2021-08-20T04:31:17Z")

</div>

私自身、Blueprintもプログラミング言語も全くの初心者なので基礎的なことかもしれませんが質問失礼します。 カットシーン内で複数のモブキャラクターをシーケンサーにてアニメーションの切り替えをしたいと考えています なので、子アクターをconstruction Scriptのadd child actor componentで複数配置しAnimationBlueprintのBoolean変数をシーケンサーにて、特定のタイミングでアニ…

---

## [Is there a way to make GetAllActorsOfClass return an array of a class instead of AActors?](https://forums.unrealengine.com/t/is-there-a-way-to-make-getallactorsofclass-return-an-array-of-a-class-instead-of-aactors/487445)

<div class="topic-metadata">

**Author:** [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Replies:** 2\
**Last updated:** [August 16, 2021, 3:27am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-make-getallactorsofclass-return-an-array-of-a-class-instead-of-aactors/487445 "2021-08-16T03:27:51Z")

</div>

I’m trying to use GetAllActorsOfClass() to get all the actors of a “parent piece” class. This class has a variable named “coordinates”, which I want to compare with another variable within the class I’m calling from. Th…

---

## [Convert "Static Mesh" reference to "Object Class Reference"](https://forums.unrealengine.com/t/convert-static-mesh-reference-to-object-class-reference/486869)

<div class="topic-metadata">

**Author:** [@TiZSp3ctr3](https://forums.unrealengine.com/u/TiZSp3ctr3)\
**Replies:** 5\
**Last updated:** [August 4, 2021, 7:00pm UTC](https://forums.unrealengine.com/t/convert-static-mesh-reference-to-object-class-reference/486869 "2021-08-04T19:00:34Z")

</div>

So, Im trying to create a survival game. In this game I want the player to be able to equip different pieces of equipment. Weapons, Clothing, Vests, Backpacks etc. I current have it setup where each equipment piece h…

---

## [How can I place actors like foliage?](https://forums.unrealengine.com/t/how-can-i-place-actors-like-foliage/486556)

<div class="topic-metadata">

**Author:** [@BluAstronaut](https://forums.unrealengine.com/u/BluAstronaut)\
**Replies:** 6\
**Last updated:** [July 27, 2021, 9:58am UTC](https://forums.unrealengine.com/t/how-can-i-place-actors-like-foliage/486556 "2021-07-27T09:58:34Z")

</div>

I’m trying to place this grass actor like one would place foliage, since the player would need to interact with it. So far I have not been able to figure out how. In this video I can’t figure out what I’m doing wrong. …

---

## [AI cant detect tags](https://forums.unrealengine.com/t/ai-cant-detect-tags/486051)

<div class="topic-metadata">

**Author:** [@ares\_514](https://forums.unrealengine.com/u/ares_514)\
**Replies:** 1\
**Last updated:** [July 11, 2021, 12:49pm UTC](https://forums.unrealengine.com/t/ai-cant-detect-tags/486051 "2021-07-11T12:49:03Z")

</div>

im trying to get my AI to detect the custom player class the player get detected but it cant check the tag i tried cheking the actor class but nothing seems to work any idea on how to do it

---

## [How to force an actor array to recognize a class](https://forums.unrealengine.com/t/how-to-force-an-actor-array-to-recognize-a-class/485642)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b3bc4d7a](https://forums.unrealengine.com/u/anonymous_user_b3bc4d7a)\
**Replies:** 8\
**Last updated:** [July 2, 2021, 5:15am UTC](https://forums.unrealengine.com/t/how-to-force-an-actor-array-to-recognize-a-class/485642 "2021-07-02T05:15:09Z")

</div>

So, I have a complex question that I’m not sure how to describe. I have a box collision on one “enemy” that is supposed to detect neighboring enemies, which is fine and dandy. But later, said enemies need to perform an i…

---

## [How to make a plugin to migrate the classes that in the project source](https://forums.unrealengine.com/t/how-to-make-a-plugin-to-migrate-the-classes-that-in-the-project-source/485168)

<div class="topic-metadata">

**Author:** [@pesalasilva](https://forums.unrealengine.com/u/pesalasilva)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 3:58pm UTC](https://forums.unrealengine.com/t/how-to-make-a-plugin-to-migrate-the-classes-that-in-the-project-source/485168 "2021-06-21T15:58:19Z")

</div>

Hi I have make a c++ actor class and a bp interface class in my project. Now they are in the source folder But I have have a plugin to have this c++ and bp in the plugin. How i can do this

---

## [Does the construction script get run when packaging?](https://forums.unrealengine.com/t/does-the-construction-script-get-run-when-packaging/485078)

<div class="topic-metadata">

**Author:** [@SageX85](https://forums.unrealengine.com/u/SageX85)\
**Replies:** 0\
**Last updated:** [June 18, 2021, 7:14pm UTC](https://forums.unrealengine.com/t/does-the-construction-script-get-run-when-packaging/485078 "2021-06-18T19:14:15Z")

</div>

I need to get a reference of all actors of a class placed on the editor, im doing it with an actor placed on the level, it does gets all actors put before it, an when i build the lights it does get any actor i placed aft…

---

## [How to choose random Actor Class](https://forums.unrealengine.com/t/how-to-choose-random-actor-class/484767)

<div class="topic-metadata">

**Author:** [@Thadon1110](https://forums.unrealengine.com/u/Thadon1110)\
**Replies:** 7\
**Last updated:** [June 11, 2021, 12:38pm UTC](https://forums.unrealengine.com/t/how-to-choose-random-actor-class/484767 "2021-06-11T12:38:22Z")

</div>

Hi! I have a script that spawns a gun, but I have 2 guns and I want them to spawn randomly. How can I do this?

---

## [Switch between montages based on selected "spell"](https://forums.unrealengine.com/t/switch-between-montages-based-on-selected-spell/483952)

<div class="topic-metadata">

**Author:** [@pargregory](https://forums.unrealengine.com/u/pargregory)\
**Replies:** 1\
**Last updated:** [May 28, 2021, 11:04am UTC](https://forums.unrealengine.com/t/switch-between-montages-based-on-selected-spell/483952 "2021-05-28T11:04:33Z")

</div>

Hello, I am working on a prototype magic system for a later project and am facing an issue I haven’t been able to resolve. To explain, I have a parent class called ‘BaseMagic’ which is an actor and contains some setters…

---

## [Class extending ABrush don't render](https://forums.unrealengine.com/t/class-extending-abrush-dont-render/482497)

<div class="topic-metadata">

**Author:** [@havenking](https://forums.unrealengine.com/u/havenking)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 6:14pm UTC](https://forums.unrealengine.com/t/class-extending-abrush-dont-render/482497 "2021-05-05T18:14:15Z")

</div>

I have created a BrushTracker class extending the ABrush to validate some properties of the brushes I am creating. It compiles and works fine, but after placing it in the editor and setting brush type to Cube, it doesn’t…

---

## [Optimizing a lot of actors](https://forums.unrealengine.com/t/optimizing-a-lot-of-actors/480599)

<div class="topic-metadata">

**Author:** [@AlexBerserker02](https://forums.unrealengine.com/u/AlexBerserker02)\
**Replies:** 1\
**Last updated:** [March 20, 2021, 11:56am UTC](https://forums.unrealengine.com/t/optimizing-a-lot-of-actors/480599 "2021-03-20T11:56:42Z")

</div>

I am creating domino game where each domino is single actor, when quantity of actors rise over 400 fps is falling under 50. How can I solve this? In domino actor there is single function, which changes it’s velocity to m…

---

## [Interact Message Appears over everything.](https://forums.unrealengine.com/t/interact-message-appears-over-everything/480302)

<div class="topic-metadata">

**Author:** [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Replies:** 5\
**Last updated:** [March 16, 2021, 2:23pm UTC](https://forums.unrealengine.com/t/interact-message-appears-over-everything/480302 "2021-03-16T14:23:01Z")

</div>

So I have a text variable in every Actor necessary. the Text Variable is “Name” I have setup a widget with a Text variable that uses the Text Variable from the Actor and sets the name of that variable and applies it as t…

---

## [Overlap Problem from Weapon Actor](https://forums.unrealengine.com/t/overlap-problem-from-weapon-actor/480119)

<div class="topic-metadata">

**Author:** [@Segitaru](https://forums.unrealengine.com/u/Segitaru)\
**Replies:** 0\
**Last updated:** [March 11, 2021, 3:30pm UTC](https://forums.unrealengine.com/t/overlap-problem-from-weapon-actor/480119 "2021-03-11T15:30:39Z")

</div>

Good afternoon, there was a problem with the implementation of the Overlapp event damage. There is a BP\_MeleeWeapon weapon class, which is created for the BP\_Character character at the start of the game, in the BP\_Melee …

---

## [trying to have a widget hover over an actor and display text depending on the blueprint variables](https://forums.unrealengine.com/t/trying-to-have-a-widget-hover-over-an-actor-and-display-text-depending-on-the-blueprint-variables/480079)

<div class="topic-metadata">

**Author:** [@Avenger465](https://forums.unrealengine.com/u/Avenger465)\
**Replies:** 0\
**Last updated:** [March 10, 2021, 9:44pm UTC](https://forums.unrealengine.com/t/trying-to-have-a-widget-hover-over-an-actor-and-display-text-depending-on-the-blueprint-variables/480079 "2021-03-10T21:44:40Z")

</div>

Hello, I have created a widget class that I want to update what is shown depending on the blueprint it is attached to. .cpp file in the constructor, I have created a TSubclassOf for the WidgetClass in the header file …

---

## [How to compare actor hit in raycast to a subclass object?](https://forums.unrealengine.com/t/how-to-compare-actor-hit-in-raycast-to-a-subclass-object/447081)

<div class="topic-metadata">

**Author:** [@VDR\_Reaper](https://forums.unrealengine.com/u/VDR_Reaper)\
**Replies:** 1\
**Last updated:** [March 10, 2021, 5:51pm UTC](https://forums.unrealengine.com/t/how-to-compare-actor-hit-in-raycast-to-a-subclass-object/447081 "2021-03-10T17:51:12Z")

</div>

Hello, I was wondering if someone could help me acquire some knowledge aha… I’m unsure how to compare the value of an actor returned by a raycast to the value of a class that is the subclass of another. The code provide…

---

## [Object/Actor Architecture Question](https://forums.unrealengine.com/t/object-actor-architecture-question/479470)

<div class="topic-metadata">

**Author:** [@VacudaVacuda](https://forums.unrealengine.com/u/VacudaVacuda)\
**Replies:** 4\
**Last updated:** [February 27, 2021, 3:04pm UTC](https://forums.unrealengine.com/t/object-actor-architecture-question/479470 "2021-02-27T15:04:00Z")

</div>

Less than a year of experience, I have an architecture question. I have an actor, APiece. It will never be destroyed. However, I routinely create and destroy a representation of that object in my game, a static mesh. …

---

## [Snap arrow to hit actor](https://forums.unrealengine.com/t/snap-arrow-to-hit-actor/479457)

<div class="topic-metadata">

**Author:** [@GablerGames](https://forums.unrealengine.com/u/GablerGames)\
**Replies:** 6\
**Last updated:** [February 26, 2021, 12:01pm UTC](https://forums.unrealengine.com/t/snap-arrow-to-hit-actor/479457 "2021-02-26T12:01:58Z")

</div>

Hello everybody, can someone tell me how to snap an arrow on a hit actor? Target is “hit result” (Hit actor) i tested it with a socket from a animal that doesn’t work either

[Next page](https://forums.unrealengine.com/tag/actor-class/10800.md?match_all_tags=true&page=1&tags%5B%5D=actor-class)
