UMG sliding interface

I have like an interface that i want to press and slide and when i slide up and release it continues slide up till it’s out of the screen kinda like how it’s on phone interfaces

Could i achieve that with either blueprint or C++ ??

Thanks,