my predicate isnt working

I need to detect when an enity is moving or standing but it just always says that it is walking.
Continue to help post