set player control click events dynamically