diff --git a/MultiMethod_PathTracing.html b/MultiMethod_PathTracing.html
index ff6c0502..2664a17c 100644
--- a/MultiMethod_PathTracing.html
+++ b/MultiMethod_PathTracing.html
@@ -554,7 +554,7 @@
// function init( meshes ) {
function init() {
- if ( 'createTouch' in document ) {
+ if ( 'ontouchstart' in window ) {
mouseControl = false;
pixelRatio = 0.5;