How to switch a mesh between sockets

Where is this part of the code located. I’m not getting those position options.