This tutorial shows how to work with Goto behavior and Motion behaviors at the same time.
Please note that this is an unusual thing to do, unless you have a good reason. If not, please check Basic Behavior Setup