Out of screen condition

Hello all,
there is a simple way to determine if an object is out of screen ?
Like behaviour “DestroyOutside” but without destroy.

Thanks,
J

Compare the position of the object with the size of your screen :slight_smile:
The expressions button should help if needed.
image

It is necessary compare:

  • the position of the object
  • the object size
  • the camera zoom
  • the camera position
  • the screen size
    Is not simple but I’ll d it.

I was hoping there was a ready-made function.

Thanks,
J

Hello,
I solved:

Thanks,
J

1 Like