act out or perform the part of a person or character is the definition of roleplay.
It’s basically where you choose a character and play as them like this.
Kylo: General!!!
Hux: yes sir
Kylo: I needed to become stronger.
Snoke: even though Rey has escaped after you were tricked by Luke Skywalker
Kylo: she was useless to me.
Kylo: I have my eyes for another