# What is this yellow sphere?

**URL:** <https://forums.unrealengine.com/t/what-is-this-yellow-sphere/857552>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [April 6, 2023, 3:04am UTC](https://forums.unrealengine.com/t/what-is-this-yellow-sphere/857552 "2023-04-06T03:04:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ProgramusPrime](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/programusprime/32/1069863_2.png) [@ProgramusPrime](https://forums.unrealengine.com/u/ProgramusPrime)\
**Post date:** [April 6, 2023, 3:04am UTC](https://forums.unrealengine.com/t/what-is-this-yellow-sphere/857552/1 "2023-04-06T03:04:11Z")

</div>

I am learning Unreal Engine following [this course](https://www.udemy.com/course/unrealcourse/?kw=Unreal+Engine+5+C%2B%2B+Developer%3A+Learn+C%2B%2B+%26+Make+Video+Games&src=sac). And I am trying to rebuild the ToonTanks game by myself without following the instructions in the course and add some my ideas.

After some trying, I finally get almost all the features introduced in the course done.

But one problem now I cannot solve remains. There is a yellow sphere after my tank is destroyed and be hidden by `SetActorHiddenInGame(true)`.

And the sphere is actually always there but invisible because it is covered by the tank model before the tank is destroyed.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/2/5a2700d81bcda45a650423cb7738dbcaf2d764fc.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/2/f62feb5631f1890ab5b26fcdd859dc413d14c8b3.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/c/39c2676c9650498b1e942bfb9346247fec5143b0.jpeg)

I thought it was a debug sphere, but I checked my code, there is no DrawDebugShpere call.

I tried to select it after pressed F8, but it is not selectable. And it is exactly at the place of the BP\_TankPlayer0, the position of my tank.

I also tried to find out what it belongs to, and I found that it would move with my turret part of the tank Actor. My tank is constructed by a BoxCollision, a base, a turret. The turret is a child of the base, and the base is a child of the BoxCollision.

I confirmed my turret model many times, there is no such a sphere in the model.

I want to know what this is and how to remove it?

The whole project is here: [programus/MazeTank (github.com)](https://github.com/programus/MazeTank)

---

<div class="post-metadata">

**Author:** ![ProgramusPrime](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/programusprime/32/1069863_2.png) [@ProgramusPrime](https://forums.unrealengine.com/u/ProgramusPrime)\
**Post date:** [April 8, 2023, 1:22am UTC](https://forums.unrealengine.com/t/what-is-this-yellow-sphere/857552/2 "2023-04-08T01:22:39Z")

</div>

Finally, I find out what the yellow sphere is!

It is a debug sphere, which is not drawn by my code, but by Camera Lag in SpringArm.

I enabled Camera Lag and also checked Draw Debug Lag Markers by mistake.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/d/a3d33b197255af60bf6301a8c080650f3aeec409.png)
