# Actor Reference is not compatible with Exec (Twin Stick Shooter Tutorial)

**URL:** <https://forums.unrealengine.com/t/actor-reference-is-not-compatible-with-exec-twin-stick-shooter-tutorial/44258>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [October 10, 2015, 8:51am UTC](https://forums.unrealengine.com/t/actor-reference-is-not-compatible-with-exec-twin-stick-shooter-tutorial/44258 "2015-10-10T08:51:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_92d43ae5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_92d43ae5](https://forums.unrealengine.com/u/anonymous_user_92d43ae5)\
**Post date:** [October 10, 2015, 8:51am UTC](https://forums.unrealengine.com/t/actor-reference-is-not-compatible-with-exec-twin-stick-shooter-tutorial/44258/1 "2015-10-10T08:51:15Z")

</div>

I’ve been following the Twin Stick Shooter Tutorial, and at one point he adds a weapon node and links it to a Pull Trigger function. However, when I tried to do the exact same thing, I had to disable context sensitive to get the function to show up, and even when I did that and brought into the blueprint, I can’t link the weapon to the function because it says “Actor Reference is not compatible with Exec”. I assume the system works differently now? Can someone tell me how to complete the tutorial section in a way that will work? This is my first time touching this, so I don’t know enough to be able to figure out a workaround. Or maybe I’m doing something wrong?

 ![actor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/5/5c58c7afcdf7be81f90014ff4092c59cd308cc16.png)

It’s this video at 12:33.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![iShifteyi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iShifteyi](https://forums.unrealengine.com/u/iShifteyi)\
**Post date:** [November 18, 2015, 3:51am UTC](https://forums.unrealengine.com/t/actor-reference-is-not-compatible-with-exec-twin-stick-shooter-tutorial/44258/2 "2015-11-18T03:51:27Z")

</div>

I am stuck here as well. Did you ever get a reply or figure it out?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e660f14a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e660f14a](https://forums.unrealengine.com/u/anonymous_user_e660f14a)\
**Post date:** [November 18, 2015, 3:07pm UTC](https://forums.unrealengine.com/t/actor-reference-is-not-compatible-with-exec-twin-stick-shooter-tutorial/44258/3 "2015-11-18T15:07:56Z")

</div>

If you look at his graph again, you’ll see that the “weapon” node should go into the target of the function, not the exec pin. There’s something wrong with your “weapon” variable, it shouldn’t just be a generic actor reference, it should be a weapon reference, as you can see when he selects the variable, in the details panel under “variable type” it says “weapon”. The Actor class doesn’t have that “pull trigger” function, so it won’t let you use it from an actor reference.

But it seems like you don’t understand some basics of how blueprints work. The Exec, or execution pin, is where you tell a function to run. It’s like the power cord to an appliance. Any other pins going into a function will generally be data, like numbers, vectors, or references to objects, but they won’t be used unless the function runs. Like how you can put bread into your toaster, but it’ll just sit there until you plug in the toaster and turn it on.
