# Converting Object Reference into another Object Refrence

**URL:** <https://forums.unrealengine.com/t/converting-object-reference-into-another-object-refrence/475049>\
**Category:** UI\
**Tags:** hud-blueprint, hud, casting, object-reference, reference-blueprint, unreal-engine, question\
**Created:** [November 27, 2020, 11:32am UTC](https://forums.unrealengine.com/t/converting-object-reference-into-another-object-refrence/475049 "2020-11-27T11:32:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![J.Isralite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.Isralite](https://forums.unrealengine.com/u/J.Isralite)\
**Post date:** [November 27, 2020, 11:32am UTC](https://forums.unrealengine.com/t/converting-object-reference-into-another-object-refrence/475049/1 "2020-11-27T11:32:33Z")

</div>

So I’m a newbie at Unreal Engine and I’m trying to integrate [this][1] into my project. Here’s what I’ve done:

1. Copied all the CPP files, then compiled them.
2. Created the necessary Blueprints inheriting from those CPP files.
3. Copied all widgets in UI from that project to mine using File Explorer.
4. Lastly, I’ve tried following the HUD Blueprint when I ran into a problem.

[https://forums.unrealengine.com/filedata/fetch?id=1836578&d=1606427563](https://forums.unrealengine.com/filedata/fetch?id=1836578&d=1606427563)

As you can see from above, I cannot convert my (Picture B) Player Controller Object Reference like it does in Picture A. What should I do? Thank you so much in advance.

---

<div class="post-metadata">

**Author:** ![Asparuh23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asparuh23](https://forums.unrealengine.com/u/Asparuh23)\
**Post date:** [February 16, 2024, 4:54pm UTC](https://forums.unrealengine.com/t/converting-object-reference-into-another-object-refrence/475049/2 "2024-02-16T16:54:51Z")

</div>

Use Cast to … node

Like this 🙂

 ![Screenshot 2024-02-16 081244](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/d/e0dedc4fc33606a5835c73ef46ff04592f49cc0b.png)
