A protein that is able to move unidirectionally along a specific type of cytoskeletal cable. Kinesins and dyneins are microtubule-based and myosins are microfilament-based motor proteins. By attaching to other subcellular components, motor proteins are capable of directed movement of these components within the cell.