Math doesn't work?

Well, it’s not important not to display the brick

When its value is -500 it’s invisible anyway

More important is to skip the collision check from your initial question

Here you can surround your code block with

if( brick1.y!=-500) {
….

}

1 Like