set_touch_only


Description:

public void set_touch_only (bool touch_only)

If touch_only is true, this will only handle events of type TOUCH_BEGIN, TOUCH_UPDATE or TOUCH_END.

If false, mouse events will be handled too.

Parameters:

this

a GestureSingle

touch_only

whether this handles only touch events