Text draw distance based on character location

I am trying to hide my nickname widget text over a character’s head, when the character is far away from nickname more than 10.

I have done this so far

So my logic is pretty simple

  1. I find location of a mesh and a text widget
  2. I return this to a value “Distance Between Object” by subtracting those 2 with each other
  3. I break the vector by X (because I need use X distance and the rest of 2 dont matter for this example)
  4. I print the given result in case to debug it

The problem is that it doesn’t work at all, I was trying to use different blueprint nodes to hide the object, but it turns out that the logic doesn’t work and I wonder why