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.