# Click not reading the right actor

**URL:** <https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, question, Blueprint\
**Created:** [August 29, 2019, 9:35am UTC](https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570 "2019-08-29T09:35:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grandmurderer2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grandmurderer2](https://forums.unrealengine.com/u/Grandmurderer2)\
**Post date:** [August 29, 2019, 9:35am UTC](https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570/1 "2019-08-29T09:35:25Z")

</div>

> **[MEGA](https://mega.nz/#!S2QCBarT!goE_jkM0LJQ5Dzsv09KBf-Lsbi7tR7RdFbZ6Afhxl_Q)**
>
> MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB now

Right so my code is there its a mega link, what its meant to do is when i click on one of the actors, its meant to show a green + and i should be able to move him. The problem is that when i click on one of the actors, the =! checking if the actor i clicked is the top down actor keeps giving true and i dont know why.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 29, 2019, 12:16pm UTC](https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570/2 "2019-08-29T12:16:44Z")

</div>

It’s because the clicked actor is always MyCharacter\_C. Why that is, I have no idea… :-/

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 29, 2019, 12:37pm UTC](https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570/3 "2019-08-29T12:37:40Z")

</div>

Ok! The collision you had set on MyCharacter meant that all line traces were being blocked by it’s own capsule. Changed it to ‘No collsion’ and everything works…

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 29, 2019, 12:39pm UTC](https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570/4 "2019-08-29T12:39:35Z")

</div>

Also, the floor had no collision. Had to make a new one out of one of the smaller blocks…

---

<div class="post-metadata">

**Author:** ![Grandmurderer2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grandmurderer2](https://forums.unrealengine.com/u/Grandmurderer2)\
**Post date:** [August 29, 2019, 4:50pm UTC](https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570/5 "2019-08-29T16:50:15Z")

</div>

OMG Thank you so much. I knew it would be something stupid just really didn’t know what, thought it was the code

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 29, 2019, 5:03pm UTC](https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570/6 "2019-08-29T17:03:36Z")

</div>

The code looked really clean 🙂

---

<div class="post-metadata">

**Author:** ![Grandmurderer2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grandmurderer2](https://forums.unrealengine.com/u/Grandmurderer2)\
**Post date:** [August 30, 2019, 8:22am UTC](https://forums.unrealengine.com/t/click-not-reading-the-right-actor/454570/7 "2019-08-30T08:22:48Z")

</div>

Love to take the credit but im on a course so i was kind of told, just they were taking to long helping haha
