I just started using Greenfoot and i was trying to type code I wrote simple commands like move(4); and it worked but when i write a user input control like when key left pressed and all that stuff it says i have an error in the code
move(4);
if(atWorldEdge())
{
turn(13);
}