# Send object to specific character depending on view

**URL:** <https://forums.unrealengine.com/t/send-object-to-specific-character-depending-on-view/582886>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint\
**Created:** [June 15, 2022, 8:23pm UTC](https://forums.unrealengine.com/t/send-object-to-specific-character-depending-on-view/582886 "2022-06-15T20:23:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aburns89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aburns89](https://forums.unrealengine.com/u/aburns89)\
**Post date:** [June 15, 2022, 8:23pm UTC](https://forums.unrealengine.com/t/send-object-to-specific-character-depending-on-view/582886/1 "2022-06-15T20:23:12Z")

</div>

Hi all, I’m trying to build a system where a player will pass the ball to another player depending on whether they are in their line of sight. Currently I’m using the player with the ball’s view and comparing it to the current location of all the players on the team but I’m not sure how I use what I’m getting to pass the ball to them.

 ![pass](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/d/f4dffc94984b9c91c800fe8d28490c857b2eb091.png)

---

<div class="post-metadata">

**Author:** ![aburns89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aburns89](https://forums.unrealengine.com/u/aburns89)\
**Post date:** [June 16, 2022, 3:05pm UTC](https://forums.unrealengine.com/t/send-object-to-specific-character-depending-on-view/582886/3 "2022-06-16T15:05:48Z")

</div>

How would I then go about selecting the desired player from the array?

Thanks
