Can you destroy an object?
I have implemented a custom class which extends CustomNode called "movingCircle" that basically moves a circle in a direction.
I have a movingCircle in my app and it contains many of these movingCircle instances that all move in different directions.
I want to know if it is possible for each individual movingCircle to destroy itself once it gets off the screen (or possibly just delete itself from the array). Can this be done?
<br /> if (object is off screen)<br /> delete self from movingCircle;<br />