How Do I create an obstacle for a 2D endless runner?

Hi, I’m quite inexperienced with how UE4 works, and I am unsure on how to make an obstacle for a 2D endless runner. It’s quite important as it is part of a school project, and my teachers don’t use UE4, so they have no idea. How do I make an obstacle act like an obstacle?