Get Velocity While Grounded

The get velocity node only returns a value other than 0 if I am in the air. How can I make this work while I am on the ground? I want to use this to detect if I am going down a ramp. Thanks.

use the node: “get physics linear velocity” than get the node: vector length and pin this two.