Float variable not updating [leap input]

If anybody is having the same problem. I solved it
I was getting the value from a incorrect node.
Here is the correct node connection