Hello I am working on a system that spawns random drop crates

Instead of having a few static spawners that create pickups I want to make a spawner that moves back and forth over the map and drops loot. For some reason, my spawner doesn’t detect my borders so it just keeps going in one direction.

link

Hi, me again.
My recommendation is to use the spawn block (in components) that has a set Y and a random X. Randomizers are in Logic and Math. Remember, every block is 32 pixels, so you need to find the left side and multiply it by 32, then make that the minimum for the randomizers. Do the same for the right and put it in max. Have both the randomizer activate in the “new” input and the “spawn” for the spawn block whenever you want it to spawn.