How do I use logic to code to make a animal (horse) ridable

Am trying to learn to make ridable animals but only answer I get is to rig them. When I really just want to learn how to use the logic tool to code a ridable animal.

What do you mean with ‘the logic tool’?

What does it have to do with open shading language?

Is it even blender related? Maybe you have accidentally used the wrong forum for this question?