How do you Detect Motion Direction (Left/Right) Using Camera in MIT App Inventor?

Try this?

or