 
         touch_end = (event)=>
             event.preventDefault()
-            for touch in @touch.touch_events
-                touch.touching = 0
+            for id,touch of @touch.touch_events
+                touch.touching = false
             for t in event.targetTouches
                 touch = @touch.touch_events[t.identifier]
                 touch.touching = true

                touch.radius_y = 0
                touch.rel_x = 0
                touch.rel_y = 0
            @touch.touches = event.targetTouches.length

        if enable_touch


        @touch =
            #touch events is a list of the captured touch events
            touch_events:{}
            first_touch_event: null
            #number of current touches
            touches:0

