The code in the attached screenshot shows how to detect touches on the touch screen. Help can be accessed by positioning your cursor on a SmileBasic command then tapping the [?] button near the upper right corner of the touch screen.