Hi, I am new to programming and am playing around with building a simple game. In my game I want to move children within a group, but only if the space they are moving into isn’t occupied by another child.
Is there a boolean type formula you can put in the x and y coordinates for that tells you whether or not an object currently occupies the space?
Thank you for your help. I have searched all over but can’t find anything.