How to make a endless forest

i trying to make a endless forest for a endless runner game and i am clueless of how to make it can some one please help me on how i can make it thanks

I would start with an actor that acts as the floor, with a collision box on the end of it, when the player overlap that box, then it spawns another one of this same actor, on begin play, this same actor spawns a tree on 8 random spots

maybe this video series can help you