Class: MG::Events::Touch

Inherits:
Object
  • Object
show all
Defined in:
doc/API_reference.rb

Overview

the Scene#on_touch_begin method.

Properties collapse

Instance Attribute Details

#locationPoint (readonly)

Returns the current location of the touch event.

Returns:

  • (Point)

    the current location of the touch event.



527
528
529
# File 'doc/API_reference.rb', line 527

def location
  @location
end