Ignore Thumbpad Movement For Guns?

I’m making my own gun and I’m doing controls for the gun and I’m having a lot of trouble with the mobile controls for it, because the I’m trying to
ignore thumbpad movement, but also allow the mobile user to hold the screen to shoot. I was wondering if there was a way to ignore thumbpad and allow the player to hold to shoot at the same time?

i looked all around the devfrom and couldn’t find any answers

Can you show me your code, please?

image

this is what i tried using for the mobile holding