I want to make it so that when I am not pressing any buttons, a function happens. Here is what I have, but it doesn't work
public void act()
{
if (Greenfoot.isKeyDown("any") == false)
{
moveDown();
}
}
