As the player moves they can collect bounties. I am trying to use the below functions to collect the bounties and also check for bounties in a rectangle between the current