add a new node for the sphere, from it connect the sphere’s y position into the clamp node’s Value port, everything else sounds like it’s ok (except the constant nodes are not strictly necessary, the 0 and 146 can be set in the Clamp node directly rather than being fed in – but that doesn’t hurt anything)