Turn object and path object on to be able to code using Coblocks; This is done with a single click to the object under the Name Tag. The Path object is found under the Special library category. The object will travel the direction of the arrows of the path in the space. Adjust the blue dots to arrange a specified path.
Here is sample code: