# When I Play in UE's Editor it's get wrong at here

**URL:** <https://forums.unrealengine.com/t/when-i-play-in-ues-editor-its-get-wrong-at-here/563880>\
**Category:** C++\
**Tags:** unreal-engine, UMG\
**Created:** [May 23, 2022, 4:02am UTC](https://forums.unrealengine.com/t/when-i-play-in-ues-editor-its-get-wrong-at-here/563880 "2022-05-23T04:02:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![caojunlin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@caojunlin](https://forums.unrealengine.com/u/caojunlin)\
**Post date:** [May 23, 2022, 4:02am UTC](https://forums.unrealengine.com/t/when-i-play-in-ues-editor-its-get-wrong-at-here/563880/1 "2022-05-23T04:02:25Z")

</div>

/\*\*  
\* Marks this object as RF\_PendingKill.  
\*/  
FORCEINLINE void MarkPendingKill()  
{  
check(!IsRooted());  
GUObjectArray.IndexToObject(InternalIndex)-\>SetPendingKill();  
}
