Touch Input Code : How it work !!!!

Hello Guys :
i’m new here and come from Houdini, i stuck with the touch code , in the third person BP i added this code , but ,it is work in first Image and not work in the other one , why, are there a delay into the GATE node, the working code i saw in one you tube tutorial about touch input !!!