# check variable

**URL:** <https://forums.unrealengine.com/t/check-variable/329995>\
**Category:** Editor Scripting\
**Tags:** target-point, Variable, check, unreal-engine, null, question\
**Created:** [August 26, 2015, 4:01pm UTC](https://forums.unrealengine.com/t/check-variable/329995 "2015-08-26T16:01:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_28ca7d86](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28ca7d86](https://forums.unrealengine.com/u/anonymous_user_28ca7d86)\
**Post date:** [August 26, 2015, 4:01pm UTC](https://forums.unrealengine.com/t/check-variable/329995/1 "2015-08-26T16:01:25Z")

</div>

Hi,is there a way to check , the actor type variables is null (empty) or not (like target points) ?

---

<div class="post-metadata">

**Author:** ![Devero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Devero](https://forums.unrealengine.com/u/Devero)\
**Post date:** [August 26, 2015, 4:28pm UTC](https://forums.unrealengine.com/t/check-variable/329995/2 "2015-08-26T16:28:19Z")

</div>

You can use the “IsValid” node to ensure the pointer variable is correct.

Hope that helps =)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28ca7d86](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28ca7d86](https://forums.unrealengine.com/u/anonymous_user_28ca7d86)\
**Post date:** [August 26, 2015, 4:44pm UTC](https://forums.unrealengine.com/t/check-variable/329995/3 "2015-08-26T16:44:22Z")

</div>

thank you.

---

<div class="post-metadata">

**Author:** ![ymars](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ymars](https://forums.unrealengine.com/u/ymars)\
**Post date:** [May 22, 2016, 2:05am UTC](https://forums.unrealengine.com/t/check-variable/329995/4 "2016-05-22T02:05:16Z")

</div>

[Japanese Translation](https://answers.unrealengine.com/questions/423634/%E5%8F%82%E7%85%A7%E5%9E%8B%E5%A4%89%E6%95%B0%E3%82%92%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF-%E7%BF%BB%E8%A8%B3%E8%A6%81%E7%B4%84.html#answer-423636)
