# 参照型変数をチェックするには？ (翻訳/要約)

**URL:** <https://forums.unrealengine.com/t/topic/358160>\
**Category:** Editor Scripting\
**Tags:** reference, check, unreal-engine, Blueprint, question\
**Created:** [May 22, 2016, 1:54am UTC](https://forums.unrealengine.com/t/topic/358160 "2016-05-22T01:54:05Z")\
**Posts on this page:** 2\
**Page:** 1

<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, 1:54am UTC](https://forums.unrealengine.com/t/topic/358160/1 "2016-05-22T01:54:05Z")

</div>

(以下は、英語スレッドの質問を翻訳/要約したものです。)

こんにちは。アクタ型変数の値が null (空) か null ではない (何らかのアクタへの参照) であるかどうか、調べる方法はありますか？

–Student 24

[英文スレッド](https://answers.unrealengine.com/questions/291462/check-variable.html)

---

<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:04am UTC](https://forums.unrealengine.com/t/topic/358160/2 "2016-05-22T02:04:32Z")

</div>

(以下は、英語スレッドの回答を翻訳/要約したものです。)

IsValid ノードを使うと、参照型変数に正しく値が入っているか確認できますよ。

–Devero

[訳注]

 ![91429-160522-014.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/2/6a20497ba358cc26ebfa5fcf7ad324421009bda2.png)

 ![91430-160522-015.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/c/b0c1c6404d078496aa583bf6304b8d6d450edd8c.jpeg)

 ![91431-160522-016.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/b/d7b3a2aaa2ea54a952240c51dbf0044498f5d16b.jpeg)
