There’s a lot of ways to do it… You can try attaching them to the ship’s actor blueprint and giving them constant motion towards the ship which stops when the button is held, that’s not really all that complicated.
You could also try to be a bit more fancy about it and use physics constraints.