Move an Enemy at random

Im close to finishing mt game. My game is a 2D survival game. its not a platform. There is no shooting. Just dodging. An Enemy touches the player the game is over. But my problem is I cant seem to make enemies move by themselves and at Random like when it hits the wall it bounces off to another direction. Anybody have any Ideas? @FWAETI

You could make use of Random.Range to create a position for your enemy to go to. When it reaches its target, create new position and go there.

Other option is to use Mathf.Perlin. This is also used in procedural generation and can create random patterns.

For the bouncing off part. That is something you need to design and create. What kind of behaviour do you want your enemy to have? Do you want it to bounce of like in pong? Or maybe you want it to rotate away from the wall when a raycast on the wall is getting to close.