Giving Sprites AI

I’ve copied the blueprints from YouTube tutorial videos but they don’t work the same with 2D Down sprites. I want the slime sprites be able to move in up, down, left, right, just randomly, and other sprites to follow the player to attack. How would I do it?