Phaser API Documentation

  Version: 
wasTouch: boolean

Description:

Did the previous input event come from a Touch input (true) or Mouse? (false)

Type:
boolean
Default: false
Since: 3.0.0
Source: src/input/Pointer.js (Line 377)