Use InputTouch for 2 seperate functions

I am using the input touch node for my mobile app to swipe on the screen to look around the scene. That is working fine. I also am using touch to select objects to toggle through materials. That also works fine. But I can’t seem to do both things together. If I enable the touch to toggle materials, the swipe to look is disabled. So what I am trying to do is be able to swipe to look around, then click a button to disable that and enable the touch to select objects and change materials. The swipe to look around is being controlled in my character BP, and the material settings are in the level blueprint.