# BlueprintNativeEvent in UActorComponent

**URL:** <https://forums.unrealengine.com/t/blueprintnativeevent-in-uactorcomponent/360459>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, Blueprint, CPP, question\
**Created:** [June 11, 2016, 8:00pm UTC](https://forums.unrealengine.com/t/blueprintnativeevent-in-uactorcomponent/360459 "2016-06-11T20:00:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shiggi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shiggi](https://forums.unrealengine.com/u/Shiggi)\
**Post date:** [June 11, 2016, 8:00pm UTC](https://forums.unrealengine.com/t/blueprintnativeevent-in-uactorcomponent/360459/1 "2016-06-11T20:00:33Z")

</div>

Hi, everyone! I have a problem here…

I want to create BlueprintNativeEvent in my UActorComponent. My plan is like that → I add UActorComponent to some Actors, and if they have this component, Event would work when I apply to Actor through the other C++Class.

I create simple code:

```
	UFUNCTION(BlueprintNativeEvent, Category = MyEvent)
		void SimpleEvent(AActor* Caller);

```

But I cant find it in event graph.

It is interesting, when I create that:

```
	UFUNCTION(BlueprintCallable, Category = MyEvent)
		void SimpleEvent(AActor* Caller);

```

I can find SimpleEvent, but it was a function… So I can create function in UActorComponent for Blueprint, but cant create a BlueprintNativeEvent?

And also when I create BlueprintNativeEvent in AActor, that works, I can find my event in graph.

---

<div class="post-metadata">

**Author:** ![Shiggi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shiggi](https://forums.unrealengine.com/u/Shiggi)\
**Post date:** [June 14, 2016, 3:15pm UTC](https://forums.unrealengine.com/t/blueprintnativeevent-in-uactorcomponent/360459/2 "2016-06-14T15:15:58Z")

</div>

This problem solved by Multi-cast Delegates. I am use this code:

```
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnInteractDelegate);
...
	UPROPERTY(BlueprintAssignable, Category = "Interaction")
		FOnInteractDelegate OnInteract;
...

```

There was my event (on UActorComponent):

![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/2/024ee3d5e7d646cbe5150ae4f01fc9d4ea4a6c8c.png)

And I’m added this line for use this event:

```
OnInteract.Broadcast();

```

That works.
