How to free enemies go out camer borders?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JulioYagami

I’m making a space shooter game and I’m using an if condition to check the position when a Timer emits timeout signal.

:bust_in_silhouette: Reply From: yhackall

I do not speak English very well, but I suppose you mean that the enemy ceases to exist when leaving the limits of the screen. If so, you can add a VisibilityNotifier and queue_free()