# How does UFUNCTION(exec) behave with multiple object instances?

**URL:** <https://forums.unrealengine.com/t/how-does-ufunction-exec-behave-with-multiple-object-instances/301253>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 11, 2014, 3:11am UTC](https://forums.unrealengine.com/t/how-does-ufunction-exec-behave-with-multiple-object-instances/301253 "2014-12-11T03:11:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_5c81321f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5c81321f](https://forums.unrealengine.com/u/anonymous_user_5c81321f)\
**Post date:** [December 11, 2014, 3:11am UTC](https://forums.unrealengine.com/t/how-does-ufunction-exec-behave-with-multiple-object-instances/301253/1 "2014-12-11T03:11:49Z")

</div>

Suppose you have a Pawn derived class with a member function marked as UFUNCTION(exec) and that you have more than one instance of said class in engine. How does the console decide which instance to execute the function on?
