Are you playing mobile version?
PC: Press Z or X
Mobile: Go to inventory -> key item, change to mobile control