How I can count the number of objects " is On Screen Only "?
(only the Objects in the windows Size)
I do not want to count all the objects in the Layout
Here the capx file:
https://www.dropbox.com/s/u32i9i5bq8knz ... .capx?dl=0
I don't have C2 now, but using the condition "is on screen" to filter instances then retrieve the character.pickedcount should work
Does not work ... Please edit the file .capx
I got a demo file working. Move the mouse around to scroll to different positions.
Develop games in your browser. Powerful, performant & highly capable.
i use construct 3 but this code fits also to construct 2. See image
demosthenesk You don't need the loop and the variable. Just pick all instances on the screen and use .PickedCount expression.