saf wrote:So, I have 2 sprites with lot of instances on layout (total of 120) and all of them are solids with collision enabled. Since this uses a lot of CPU to check collisions, I was wondering is there a way to disable collisions on instances that are off screen. I've tried something like "Sprite is (not)on screen -> collision disabled" but this diables collisions on all instances, both on screen and off screen.
" Sprite is (not) on screen -> collision disabled " should have worked! and it only includes sprites not on screen.. There might be some events that conflicts with it or maybe you did not include this event below.
If Sprite is on screen then
--> Set collision enabled