This question already has an answer here:
So I'm playing a D&D 5e homebrew campaign and while I was in a battle in one round I did this.
- Move 15 feet (from basic 35 feet)
- Put my light crossbow away
- Drew a longsword with two hands (as a part of the attack)
- Attacked an orc with that longsword with two hands
I'm not sure how many times I can interact with an object and I searched the player's handbook and it only says that you can draw your sword as a part of the attack? And I'm not sure that you can put your crossbow away too.