I just added four events to display touch inputs using text objects as similar to the example.

In my project, I need to detect the second touch and create an object at the second touch position while the first touch is on. The object is being created at the first touch position even when second touch input is given.