do stuff when detect hit