Well it would probably be best to set it to a button action event and do a line trace to see if the pistol is close enough