can attack always returns false in behavior tree

hi guys why my blackboard is set to false always but in the actual enemy blueprint is set to true

can attack is always false in bt even if i set it to true no matter what i try it always false bt and true on the enemy blueprint


  1. Is SetValueAsBool actually called? Set breakpoint and\or PrintText to check it
  2. What the actual value of KeyName you passing to it? Print it and check it’s exactly canattack without extra quotes or spaces
  3. A lame thing, but worth checking as i actually had it a few times accidentally: check that canattack in both BB & KeyName is actually written in english

yea i set print string and get value as bool after it and it return true ,its exactly canattack,its actually in engish