Scaling an object based on the players position

Hi
I need some help with a blueprint I’ve been working on.

This is what I’m trying to achieve, if the player is outside A the objects scale is 0, Inside of B the scale is 1 and I want to lerp between the two dependant on the players location between A and B. The best I’ve been able to do is use a timeline to lerp between between the two if the player gets close and reverse it as they move away. Also there appears to be no collision on the object. and I can’t figure out why.

The blueprint so far

Any help anyone can give would be greatly appreciated

hi
i don’t see any mistake in your bp , i think you should check the distance or your timeline

I got it working as I wanted. Didn’t have to use a timeline just a bit of maths. However I’m still not getting any collision on the objects at all.

Updated blueprint

Sorry to add to this post but how would I save the object vectors when scaled after I picked it up and dropped it

Could the object be kept at the same position in space?