Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Input.Pointer
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
)
Possible examples