Hi guys! I thought that this custom block could be useful for a game I'm working on. But it also has many other applications. So I thought I would share it with everybody. This isn't a game, it's just a bit of code that you can copy to your own games. Here's how it works. When Yellow Cat touches Orange Cat, Orange Cat tests moving in all directions to see which is the most efficient way to get away from Yellow Cat. This is a little bit laggy. There's a trade-off between precision and speed. You can adjust this with the "precision" parameter of the block. Please tell me about any glitches you encounter with the block so that I can patch them up! To get the block, go into the orange cat sprite and drop that pink "define" block into your own backpack. Easy! So, how could we use this code? 1. In a platformer, this could potentially be used for collisions with moving platforms. 2. One sprite could push another sprite, like in many puzzle games where you can push crates around the map. 3. Can be used with hitboxes to prevent sprites from colliding with one another. All code by @TheWatermelonMan Nov. 28 update - 2 parameters works better for precision