Before attempting any of this , you have to at least know the basics to route coding. If you have absolutely no idea what the hell you are doing and just putting in random code in trying to make the train turn you will end up with stuff like this :
and your train will turn out like this:
I wanna start coding like that lmao jk