Marching square bound area won't move

i want the marching square is working even when the camera is scrolling

but this happened instead, after push the ball down, it’s just disapear


it feels like the bound area just stuck in screen width at the beginning

here’s my code

I was playing with the example project. Did you change the setting for the shape painter with the behavior? It acted the same way for me until I increased the bottom.

https://wiki.gdevelop.io/gdevelop5/extensions/marching-squares/?utm_source=gdevelop&utm_medium=help-link#behavior-actions

Hey, it worked! Thank you so much for your help. but I’ve noticed that it affects performance. Is there a way to adjust the bound area? If not, that’s alright. Thank you.

1 Like

IDK. I haven’t used it much. Maybe it needs to be divided into several pieces. Maybe your events need optimizing.