Solved What craft I will be controlling when two crafts are undocked?

#1
Hello!
I have a little problem. If there are two crafts docked in space, when I undock the crafts, which craft I will be controlling? (Suppose that both have a crew capsule each) Is it randomly selected or what is given the priority?

Sorry for my high-quality English, I am still learning the languages of Earth. And also, for the stupid question.
 

Horus Lupercal

Primarch - Warmaster
Professor
Swingin' on a Star
Deja Vu
Biker Mice from Mars
ET phone home
Floater
Copycat
Registered
#2
There is a priority to how it all works. And it doesn't even matter if there is a control part fitted either.

If you undock, control will go to the least thing you controlled when those objects docked in the first place.