Enemy spawning

How would I make an enemy spawn on the edge of the screen every couple seconds?

Depends on your code. You’ll probably want to have an Enemy class that handles all its movement and drawing.

For spawning, just make a table, and use a tween.delay loop to add a new Enemy instance every 2 seconds.

Ok thanks