I need help with detecting sprites

How would i fix this so it can only detect other sprites and not itself?

oh btw im multitasking this isnt related to carrion since i have a few ideas for this and not carrion.

1 Like

You can add a boolean which checks if the random selected Sprite of Kind “Squidcada” is not “sprite” so the extra code does not run.

you could also try https://github.com/felixtsu/pxt-sight