How to randomly spawn enemies?

Hi, I am currently making a runner game similar to the chrome dinosaur game, and I was wondering if anyone could help me spawn things randomly for the player to jump over.

As a hint, try implementing an array into your code.

Can you describe more how you want the enemies to spawn? A wick file or visual diagram of the game you’re trying to make might help.

You’ll more likely need to use the clone and random integer functions