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
1 2 3 4 5 6 7 | public void act() { if (Greenfoot.isKeyDown( "any" ) == false ) { moveDown(); } } |