how to create curtain open/close animation inside unreal engine ?

Hi there, i i wan to create a curtain with open / close animation mainly inside … i know that i can make animation of curtain in side blender or max… but i wanna make inside unreal engine and i want to control the animation using ui buttons…
SO how can i create a curtain simulation inside it…?