swipe screen and joystick zone

I have a problem with joystick and swiping screen. I have created swiping to rotate the camera using new input system and I have joystick created on the left bottom corner. what my problem is when I use joystick, both joystick and swiping screen functions working together. And it is not good because I don’t want the swiping function response when I pressing joystick. Help Me!

I’ve got a crazy idea, I’m going to use floating joystick instead of touch thing and new input system.