How to move mesh if colliding?

Hi!

I have been thinking a lot on how can I move a Static mesh to on side (Y Axis) if its colliding with another static mesh, and if it keeps colliding move even more to the side (Y Axis).
I thought in making my Static Mesh into a Nav Mesh, but I don´t know how…

Does anyone know how? Please help :confused: :smiley:

Have a nice day…