**This is an old revision of the document!**

Destroy outside screen behavior

This is one of the most simple, yet useful, behaviors. Add it to an object and then, whenever an instance of this object goes out of the bounds of the screen, this instance will be destroyed.

It's a simple way of ensuring that your game is not filled with garbage objects that could slow it down.

Examples

Destroy when outside of screen

Once you have selected the behavior from the list, it is going to destroy the object whenever it is outside the screen. This behavior has no options to change and automatically applies to all instances of the object.