Calculate an Object Y Velocity with VS

Hii,

I’m trying to set a Jump animation for my player and for that I need to set an animator VerticalVelocity variable getting the velocity of the player in Y. How could I translate this code to VS?

Just get the y value of the rigidbody?

With a new variable, right?

In Visual Scripting, it should be something like rigidbody.velocity => Split Vector 3 => just the Y part.

I need that the final value gets to 0, but it doesn’t
8789362--1194127--upload_2023-2-7_21-34-2.png