touch input on rectangle example