touch interface for each character activity

Hello, can someone help me with this please, look what happens is that I am with an RPG project for mobile, but what is not how to do, that when approaching an object for example a carriage, and once inside it I get the buttons to handle it, etc, and when I get out, the movement buttons come out again, in conclusion of what I want to say, is that how do I have different buttons in each, activity of the person, I already know how to fish, collect , cut, etc.