I have two objects 1 player and 1 enemy i want that if space is pressed spawn bullet but i also want that only one can be spawn at a time (i have used Groups,Variables etc.) Could anyone give me a live example (The player and enemy can shoot at one time but player can not shoot if is last shot bullet was not destroyed and same was the case of enemy)