i want make game space shoot. but all control use the button and logic mouseClicked. the problem, i'am want creat button fire / button shoot but i dont know the coding. please help me !!!!!


1 | if (Greenfoot.mousePreesed( null ) && Greenfoot.getMouseInfo().getActor() instanceof shoot) |