hey guys I sort of new to all the green foot coding stuff and was just wondering how I can get an object to randomly move In any direction from a world edge please help?
if(Greenfoot.getRandomNumber(20)== 1)
{
turn(Greenfoot.getRandomNumber(46)-23);
}
move(3)