I need condition something familiar to 'is on-screen' but i need to check sprites if sprite 'is on layout' do something?
Any ideas?
Have you tried using the "Is outside Layout" event and inverting it?
Develop games in your browser. Powerful, performant & highly capable.
— yeah i try this at first place, dont work correctly
Ashley is this condition is missing in C2?
No, the condition — suggested inverted should do exactly this. There are no known bugs with it, it should be working correctly.
Ashley now for me this is not working well, but maybe im wrong so correct me.
delgado - that project makes no sense. You are trying to use "Sprite is outside layout" to detect if all sprites have been destroyed. You should check if the sprite count is 0 instead. If no instances exist, none of its conditions are ever true (it makes no sense to ask if a sprite is inside/outside the layout if none exist - the question simply does not apply).
Ashley i know it makes no sens because im looking for solution how chceck spriteswhen are not on layout.
I makes this example because FragFather suggested.
This works:
LittleStain YES
But if you want to destroy the sprites like in your example and want to know if there aren't any left, you should check if sprite.count=0