im trying to make a plant vs zombie game but right now i can’t figure out something. how do i make it so that the peashooter will only shoot when the zombie is in the row it is in? here is the code if you want to edit.
1 Like
I think I have found a fix. This code will only make pea shooters shoot peas if there are zombies in the row. I didn’t do anything else, so let me know if you need more help.