You are looking at a command called carry

carry {object}

You can carry objects around with you.

create a pot plant. paint it as limegreen. carry it

When you want to stop carrying it, just push it

Push seperates an object from its host, you being the host of the flower pot when you cary it.

You are allowed to carry players around (to save them walking) however you can not carry objects you have not locked.

Carrying a player is similar to that player following you. it is also the same as putting an object by you and then posing it as carried: create a fig paint it as peru. put it on me. pose it as carried

Related commands:

read the command called follow
read the command called push
read the command called put
Code