You sound like you don’t understand. Either the engine will handle it for you or you have to do it yourself. The method I provide is how you do it yourself. There’s really no possible variation: you probe the spot and spawn when it is clear. Perhaps you will try it if you can’t find an alternative. Time will tell.