# Differnce between this and GetOwner()

**URL:** <https://forums.unrealengine.com/t/differnce-between-this-and-getowner/146928>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [July 4, 2020, 3:05am UTC](https://forums.unrealengine.com/t/differnce-between-this-and-getowner/146928 "2020-07-04T03:05:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ulanov1707](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ulanov1707](https://forums.unrealengine.com/u/ulanov1707)\
**Post date:** [July 4, 2020, 3:05am UTC](https://forums.unrealengine.com/t/differnce-between-this-and-getowner/146928/1 "2020-07-04T03:05:35Z")

</div>

Hey there , really quick one . What is the difference between “this” and “GetOwner()” function?

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [July 4, 2020, 9:07pm UTC](https://forums.unrealengine.com/t/differnce-between-this-and-getowner/146928/2 "2020-07-04T21:07:01Z")

</div>

The owner is generally the object that “owns” the current object, whereas “this” is the object running the current function.  
For example, inside a Component of some sort, “this” will be the UComponent, but GetOwner() will be the AActor.  
Note that GetOwner() isn’t available in all classes, only classes that have explicitly defined an ownership model in code.  
“this” however is part of the C++ language.
