oh well that's harder something like making a box or area limit that he can go to first. then making him move, just an x=x+1 for moving it and an until to stops it, so set four things like that, up down left and right, then make a random thing that chooses from the four like a=rnd(4) if a=1 then left if a=2 then right and so on make a def for each direction, on those def make it move a random