How to use Control class and Direction class!

If you have any question about it, i'll be ready to answer you!