Hi. im making a program with moving objects. what i wanna know is if theres a way to tell if one object is entering the space occupied by another object.
like cause i have this picture and i wanna know if one of my moving objects goes overtop of it. i can think of one way but that requires a whole ton of if statements. and i have like 9 different moving objects and 6 pictures that i wanna know if it goes over. so even using arrays thats alot of if statements.
so is there like a way to know if one object goes over another