Hi.
You can use black canvas on top of the ghosts.
When you move your finger on the screen in the canvas you can subtract a circle by the coordinates of your finger.
Killing ghosts can be checked by the presence of a transparent area in the canvas above their coordinates.
It will be possible to check the killing of ghosts in other ways, for example by checking the touch coordinates.