Hi everyone, I'm trying to make a simple puzzle game where the player has to move around horizontally and place blocks to build a certain structure (kind of like 2D Minecraft, but this is not the point ). Something like this: (this is only a sketch, of course ) The problem is, I want the player to be able to place blocks only if they wouldn't overlap with each other - I made a separate invisible sprite to serve as a 'bounding box' where the block would be placed if it's not overlapping with the others (the body is highlighted), but I'm having real troubles making the game keep track of whether the bounding box is overlapping the blocks group. I tried several ways, for instance: But then I realised that the value of this.blocking just keeps switching with the speed of light. How do I make the dude place the blocks at the specified distance? I'm sorry if this is a dumb issue, but I really can't figure it out - I also couldn't find anything in the docs or examples about this.