How do you properly explode an enemy? (Without freezing the main thread)

Thanks. How?