I want to make a bot which clicks the fire button on the mobile screen upon seeing an enemies head.
In pubg mobile which is an android game you have to control the fire button and the aim along with many other controls to kill an enemy or other players. I want to automate the fire button and everything else would be controlled by me, when I'll aim on a player's head the bot should click the fire button instantly.
So there are a few problems in this ,first one is that what if it shoots upon seeing my teammates head and other is what if there are two players at once ,which will it shoot, for that it needs to shoot when my aim or the red crosshair is on the player's head.
I don't know how to get started , I need to make an image recognition app and an autoclicker and combine them both. How do I get started? Assuming that I only know basic python.