In class:
In act:
Thanks
PStiger
long millisIntersection; int checkMillis = 0; //!=0 check disabled
if(checkMillis == 0) { millisIntersection=System.currentTimeMillis(); int checkMillis = 1; } if(System.currentTimeMillis()-millisIntersection =< 10000) Greenfoot.stop();