# Checking if actor on screen returns true even if actor is not?

**URL:** <https://forums.unrealengine.com/t/checking-if-actor-on-screen-returns-true-even-if-actor-is-not/389801>\
**Category:** Community & Industry Discussion\
**Tags:** actor, viewport, unreal-engine, screen, question\
**Created:** [April 3, 2017, 8:19am UTC](https://forums.unrealengine.com/t/checking-if-actor-on-screen-returns-true-even-if-actor-is-not/389801 "2017-04-03T08:19:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_61ce145f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61ce145f](https://forums.unrealengine.com/u/anonymous_user_61ce145f)\
**Post date:** [April 3, 2017, 8:19am UTC](https://forums.unrealengine.com/t/checking-if-actor-on-screen-returns-true-even-if-actor-is-not/389801/1 "2017-04-03T08:19:18Z")

</div>

I created a new project based on 3rd person blueprint and a test actor. The test actor has this line of code,:

[https://forums.unrealengine.com/attachment.php?attachmentid=135788&d=1491205691](https://forums.unrealengine.com/attachment.php?attachmentid=135788&d=1491205691)

It will print “ON SCREEN” if the actor is on screen.  
The test actor has the default billboard dino head image. It is placed towards the right side behind the player character so it doesn’t appear on viewport initially.

Somehow the “ON SCREEN” message will be printed even when the test actor is not within the viewport. I tested it in standalone game.  
Below is the link to download my project file:

EDIT: Fixed link

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61ce145f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61ce145f](https://forums.unrealengine.com/u/anonymous_user_61ce145f)\
**Post date:** [April 4, 2017, 3:10am UTC](https://forums.unrealengine.com/t/checking-if-actor-on-screen-returns-true-even-if-actor-is-not/389801/2 "2017-04-04T03:10:17Z")

</div>

Solved. Thanks to a friend of mine.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/c/adc2061e7988a9b7cd9ad0934f6570c455e37362.png)

---

<div class="post-metadata">

**Author:** ![s54780478](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@s54780478](https://forums.unrealengine.com/u/s54780478)\
**Post date:** [February 5, 2022, 2:18pm UTC](https://forums.unrealengine.com/t/checking-if-actor-on-screen-returns-true-even-if-actor-is-not/389801/3 "2022-02-05T14:18:47Z")

</div>

Omg you saved me thank you so much! I wish you good health and the best of luck

---

<div class="post-metadata">

**Author:** ![thzoid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thzoid](https://forums.unrealengine.com/u/thzoid)\
**Post date:** [December 28, 2023, 11:52pm UTC](https://forums.unrealengine.com/t/checking-if-actor-on-screen-returns-true-even-if-actor-is-not/389801/4 "2023-12-28T23:52:22Z")

</div>

For me, this ended up being the best solution

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/4/5d4d6109d9768788174fa5161a43dac9a36b1107.jpeg)
